Dmitri Gribenko
f857950d39
Remove useless 'llvm::' qualifier from names like StringRef and others that are
...
brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
2013-01-12 19:30:44 +00:00
Daniel Jasper
33806cdefc
Fix binding of nodes in case of forEach..() matchers.
...
When recursively visiting the generated matches, the aggregated bindings need
to be copied during the recursion. Otherwise, we they might not be properly
overwritten (which is shown by the test), or there might be bound nodes present
that were bound on a different matching branch.
Review: http://llvm-reviews.chandlerc.com/D112
llvm-svn: 167695
2012-11-11 22:14:55 +00:00
Daniel Jasper
e9aa6878c9
Fix ASTMatchersTests to not create an overloaded-virtual warning.
...
llvm-svn: 166921
2012-10-29 10:48:25 +00:00
Manuel Klimek
c268745011
Adds the possibility to run ASTMatchFinder over arbitrary AST nodes.
...
llvm-svn: 166567
2012-10-24 14:47:44 +00:00
Daniel Jasper
5901e47e8f
Add matchers for selected C++11 features.
...
Patch by Gábor Horváth.
Review: http://llvm-reviews.chandlerc.com/D46
llvm-svn: 164943
2012-10-01 13:40:41 +00:00
Nico Weber
723b4f02a7
Reland r160052: Default to -std=c++11 on Windows.
...
Also update the tests that rely on c++98 to explicitly mention that.
llvm-svn: 162890
2012-08-30 02:08:31 +00:00
Manuel Klimek
04616e4776
Adds the AST Matcher library, which provides a in-C++ DSL to express
...
matches on interesting parts of the AST, and callback mechanisms to
act on them.
llvm-svn: 159805
2012-07-06 05:48:52 +00:00