aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-02-04 13:11:42 +0000
committerDaniel Jasper <djasper@google.com>2015-02-04 13:11:42 +0000
commit1d8ecbdffce64bef87723535b3c4a439340e9d8e (patch)
treec4e2e6f269c930806c67b5feaf18d4d14549489f /clang/lib/Frontend/CompilerInvocation.cpp
parent42fa73cef0a974bb98fcd341a94cc3286a593a58 (diff)
downloadllvm-1d8ecbdffce64bef87723535b3c4a439340e9d8e.zip
llvm-1d8ecbdffce64bef87723535b3c4a439340e9d8e.tar.gz
llvm-1d8ecbdffce64bef87723535b3c4a439340e9d8e.tar.bz2
Let RecursiveASTVisitor walk both syntactic and semantic form of InitListExprs.
Otherwise, this can lead to unexpected results when AST matching as some nodes are only present in the semantic form. For example, only looking at the syntactic form does not find the DeclRefExpr to f() in: struct S { S(void (*a)()); }; void f(); S s[1] = {&f}; llvm-svn: 228138
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions