[PATCH] First revision of the dynamic ASTMatcher library

Samuel Benzaquen sbenza at google.com
Fri May 3 11:01:14 PDT 2013


  Moved the parser methods into the Parser class and took most of the state function argument and made them members.
  Changed the signature of the individual parse*() methods to return a VariantValue directly to simplify the work on the outer switch.

Hi doug.gregor, klimek,

http://llvm-reviews.chandlerc.com/D714

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D714?vs=1818&id=1819#toc

BRANCH
  svn

ARCANIST PROJECT
  clang

Files:
  unittests/ASTMatchers/CMakeLists.txt
  unittests/ASTMatchers/Makefile
  unittests/ASTMatchers/Dynamic
  unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
  unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  unittests/ASTMatchers/Dynamic/Makefile
  unittests/ASTMatchers/Dynamic/CMakeLists.txt
  unittests/ASTMatchers/Dynamic/ParserTest.cpp
  lib/ASTMatchers/ASTMatchFinder.cpp
  lib/ASTMatchers/CMakeLists.txt
  lib/ASTMatchers/Makefile
  lib/ASTMatchers/Dynamic
  lib/ASTMatchers/Dynamic/VariantValue.cpp
  lib/ASTMatchers/Dynamic/Marshallers.h
  lib/ASTMatchers/Dynamic/Diagnostics.cpp
  lib/ASTMatchers/Dynamic/Registry.cpp
  lib/ASTMatchers/Dynamic/Makefile
  lib/ASTMatchers/Dynamic/Parser.cpp
  lib/ASTMatchers/Dynamic/CMakeLists.txt
  include/clang/ASTMatchers/ASTMatchersInternal.h
  include/clang/ASTMatchers/ASTMatchFinder.h
  include/clang/ASTMatchers/Dynamic
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  include/clang/ASTMatchers/Dynamic/Diagnostics.h
  include/clang/ASTMatchers/Dynamic/Registry.h
  include/clang/ASTMatchers/Dynamic/Parser.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D714.10.patch
Type: text/x-patch
Size: 67180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130503/23888320/attachment.bin>


More information about the cfe-commits mailing list