aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-07-18 07:20:53 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-07-18 07:20:53 +0000
commite62dd8b5e985c86e0c766a89cce6162b463c39ea (patch)
tree3dded7dabd64466e752a88d79963469ba4a770cc /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentb78f3b89e171d276d0e05731efdde152585fc240 (diff)
downloadllvm-e62dd8b5e985c86e0c766a89cce6162b463c39ea.zip
llvm-e62dd8b5e985c86e0c766a89cce6162b463c39ea.tar.gz
llvm-e62dd8b5e985c86e0c766a89cce6162b463c39ea.tar.bz2
[Index] Prevent canonical decl becoming nullptr
Summary: This patch prevents getCanonicalDecl returning nullptr in case it finds a canonical TemplateDeclaration with no attached TemplatedDecl. Found by running the indexer over a version of the standard library deep inside a template metaprogramming mess. Reviewers: klimek, vsk Reviewed By: vsk Subscribers: vsk, arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D35212 llvm-svn: 308269
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions