History log of /llvm-project/clang/unittests/Frontend/FrontendActionTest.cpp (Results 26 – 44 of 44)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 001fe643 15-Oct-2014 Reid Kleckner <reid@kleckner.net>

Fix late template parsing leak with incremental processing

Add a second late template parser callback meant to cleanup any
resources allocated by late template parsing. Call it from the
Sema::ActOn

Fix late template parsing leak with incremental processing

Add a second late template parser callback meant to cleanup any
resources allocated by late template parsing. Call it from the
Sema::ActOnEndOfTranslationUnit method after all pending template
instantiations have been completed. Teach Parser::ParseTopLevelDecl to
install the cleanup callback when incremental processing is enabled so
that Parser::TemplateIds can be freed.

Patch by Brad King!

llvm-svn: 219810

show more ...


# a2406fa9 10-Sep-2014 Benjamin Kramer <benny.kra@googlemail.com>

Revert over-eager unique_ptr conversion.

This test wants to observe PPCallbacks after they have been moved into the
preprocessor. That doesn't work if the pointer has been moved away.

llvm-svn: 217

Revert over-eager unique_ptr conversion.

This test wants to observe PPCallbacks after they have been moved into the
preprocessor. That doesn't work if the pointer has been moved away.

llvm-svn: 217481

show more ...


# b8a70530 10-Sep-2014 Craig Topper <craig.topper@gmail.com>

Unique_ptrify PPCallbacks ownership.

Unique_ptr creation stil needs to be moved earlier at some of the call sites.

llvm-svn: 217474


Revision tags: llvmorg-3.5.0, llvmorg-3.5.0-rc4
# d87f8d76 27-Aug-2014 Rafael Espindola <rafael.espindola@gmail.com>

Update for LLVM api change.

llvm-svn: 216585


Revision tags: llvmorg-3.5.0-rc3
# 6beb6aa8 10-Aug-2014 David Blaikie <dblaikie@gmail.com>

Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325)

After post-commit review and community discussion, this seems like a
reasonable direction to continue, making ownershi

Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325)

After post-commit review and community discussion, this seems like a
reasonable direction to continue, making ownership semantics explicit in
the source using the type system.

llvm-svn: 215323

show more ...


# 88d99e4f 07-Aug-2014 Benjamin Kramer <benny.kra@googlemail.com>

Flip the order the preprocessor and frontendaction are informed of the end of a file.

This allows using EndOfMainFile from a PPCallback to access data from the
action. The pattern of PPCallback refe

Flip the order the preprocessor and frontendaction are informed of the end of a file.

This allows using EndOfMainFile from a PPCallback to access data from the
action. The pattern of PPCallback referencing an action is common in clang-tidy.

Differential Revision: http://reviews.llvm.org/D4773

llvm-svn: 215145

show more ...


Revision tags: llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1
# 62a56f39 17-Jul-2014 David Blaikie <dblaikie@gmail.com>

Revert "unique_ptr-ify ownership of ASTConsumers"

This reverts commit r213307.

Reverting to have some on-list discussion/confirmation about the ongoing
direction of smart pointer usage in the LLVM

Revert "unique_ptr-ify ownership of ASTConsumers"

This reverts commit r213307.

Reverting to have some on-list discussion/confirmation about the ongoing
direction of smart pointer usage in the LLVM project.

llvm-svn: 213325

show more ...


# a51666a4 17-Jul-2014 David Blaikie <dblaikie@gmail.com>

unique_ptr-ify ownership of ASTConsumers

(after fixing a bug in MultiplexConsumer I noticed the ownership of the
nested consumers was implemented with raw pointers - so this fixes
that... and follow

unique_ptr-ify ownership of ASTConsumers

(after fixing a bug in MultiplexConsumer I noticed the ownership of the
nested consumers was implemented with raw pointers - so this fixes
that... and follows the source back to its origin pushing unique_ptr
ownership up through there too)

llvm-svn: 213307

show more ...


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2, llvmorg-3.4.1-rc1, llvmorg-3.4.0, llvmorg-3.4.0-rc3
# 56b5cc91 15-Dec-2013 Alp Toker <alp@nuanti.com>

ASTContext: Declare builtin types implicitly

__builtin_va_list and friends have been showing up where they shouldn't for way
to long, making unwanted appearences in -ast-print, tooling and source le

ASTContext: Declare builtin types implicitly

__builtin_va_list and friends have been showing up where they shouldn't for way
to long, making unwanted appearences in -ast-print, tooling and source level
visitors and even the hello world tutorial on the clang website.

This commit factors down the implicit typedef and record creation facilities to
ensure they're marked implicit.

Also fixes a unit test that was testing incorrect behaviour, and removes old
hacks in the DeclPrinter that tried to skip implicit declarations manually.

llvm-svn: 197336

show more ...


Revision tags: llvmorg-3.4.0-rc2
# 336fcd9c 24-Nov-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[Parser] Unbreak parsing with incremental parsing enabled and add a unit-test for it.

llvm-svn: 195564


Revision tags: llvmorg-3.4.0-rc1, llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1
# f1b49e23 20-Jan-2013 Sean Silva <silvas@purdue.edu>

Nuke SetUpBuildDumpLog.

Also, it was the only reason that `argc` and `argv` were being passed
into createDiagnostics, so remove those parameters and clean up callers.

llvm-svn: 172945


Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3
# fa0b3bb7 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Really sort the #include lines in unittests/...

I forgot to re-sort after fixing main module headers.

llvm-svn: 169244


# 320d9666 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Sort the #include lines for unittests/...

I've tried to place sensible headers at the top as main-module headers.

llvm-svn: 169243


Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# eb7b9f82 04-Jul-2012 Benjamin Kramer <benny.kra@googlemail.com>

Update unittests for include change.

llvm-svn: 159724


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# d6a58286 20-Jan-2012 Douglas Gregor <dgregor@apple.com>

Fix broken unit test

llvm-svn: 148547


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1, llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 8f5cf74c 19-Feb-2011 Peter Collingbourne <peter@pcc.me.uk>

Re-instate r125819 and r125820 with no functionality change

llvm-svn: 126060


# a6d2bff0 19-Feb-2011 Rafael Espindola <rafael.espindola@gmail.com>

Revert 125820 and 125819 to fix PR9266.

llvm-svn: 126050


# 14a552b2 18-Feb-2011 Peter Collingbourne <peter@pcc.me.uk>

Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction

This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the de

Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction

This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the dependency on core
from libclang, PrintFunctionNames, the unit tests and c-index-test.
While at it, review and trim other unneeded dependencies.

llvm-svn: 125820

show more ...


# c7da993d 03-Feb-2011 Jeffrey Yasskin <jyasskin@google.com>

Add gTest unittests to clang, and write the first one.
This is the Makefile version only; the cmake implementation is coming soon.

llvm-svn: 124777


12