]> granicus.if.org Git - clang/commit
Add loc() to the dynamic registry.
authorSamuel Benzaquen <sbenza@google.com>
Mon, 10 Mar 2014 15:40:23 +0000 (15:40 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Mon, 10 Mar 2014 15:40:23 +0000 (15:40 +0000)
commit9989dfb6402aedfbeed904f4f5ce204f01f854f8
tree3bf2501dedcf1a5fb9d4ab66638f8b906c868493
parent89ae1980327d09209515891f04063909da8a93ca
Add loc() to the dynamic registry.

Summary:
Add loc() to the dynamic registry.
Other fixes:
 - Fix the polymorphic variant value to accept an exact match, even if
   there are other possible conversions.
 - Fix specifiesTypeLoc() to not crash on an empty
   NestedNameSpecifierLoc.

Reviewers: klimek

CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2928

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203467 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
docs/tools/dump_ast_matchers.py
include/clang/ASTMatchers/ASTMatchers.h
include/clang/ASTMatchers/ASTMatchersMacros.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
lib/ASTMatchers/Dynamic/Registry.cpp
lib/ASTMatchers/Dynamic/VariantValue.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp