aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-07-23 13:17:47 +0000
committerDaniel Jasper <djasper@google.com>2014-07-23 13:17:47 +0000
commit3dfa09bbbc07134da15cdf57928a67f85dc966ab (patch)
tree1970c8e12836cd5407da82118e9a28af3648d5e5 /clang/lib/Frontend/CompilerInvocation.cpp
parent2727279117eac8671597fe457ac7ef3c5d82abe6 (diff)
downloadllvm-3dfa09bbbc07134da15cdf57928a67f85dc966ab.zip
llvm-3dfa09bbbc07134da15cdf57928a67f85dc966ab.tar.gz
llvm-3dfa09bbbc07134da15cdf57928a67f85dc966ab.tar.bz2
Prevent assert in ASTMatchFinder.
If nodes without memoization data (e.g. TypeLocs) are bound to specific names, that effectively prevents memoization as those elements cannot be compared effectively. If it is tried anyway, this can lead to an assert as demonstrated in the new test. In the long term, the better solution will be to enable DynTypedNodes without memoization data. For now, simply skip memoization instead. llvm-svn: 213751
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions