[PATCH] Qualify all types used in AST matcher macros.

Alexander Kornienko alexfh at google.com
Wed Jun 17 05:23:07 PDT 2015


Hi djasper, klimek,

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.

http://reviews.llvm.org/D10501

Files:
  include/clang/ASTMatchers/ASTMatchersMacros.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10501.27828.patch
Type: text/x-patch
Size: 31858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150617/be639481/attachment.bin>


More information about the cfe-commits mailing list