Qualify all types used in AST matcher macros.
authorAlexander Kornienko <alexfh@google.com>
Wed, 17 Jun 2015 12:49:00 +0000 (12:49 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 17 Jun 2015 12:49:00 +0000 (12:49 +0000)
commit3b6304fa1a3fc01d0b70166dd1a971a8d86bf532
tree76ab382ece029cc40a57cfd25bf44956672d4369
parent9e7b90c24480eaeaf52bd052f3c3d1debd6357d2
Qualify all types used in AST matcher macros.

Summary:
Qualify all types used in AST matcher macros. This makes it possible to
put AST matchers in user code into a namespace other than clang::ast_matchers
and this way prevent ODR violations that could happen when a matcher with the
same name is defined in multiple translation units. Updated comments
accordingly.

Reviewers: djasper, klimek

Reviewed By: djasper, klimek

Subscribers: klimek, cfe-commits

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

llvm-svn: 239902
clang/include/clang/ASTMatchers/ASTMatchersMacros.h