]> granicus.if.org Git - clang/commit
Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 11 Aug 2014 22:11:07 +0000 (22:11 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 11 Aug 2014 22:11:07 +0000 (22:11 +0000)
commit2f361f76db11d874da12a2f8c2dedf0e81f62fe2
tree9dccabd78ab660baaef5cb960716bbd843e1d7e9
parent9febd243459dca68f48e886ecc1611613582ce7d
Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump
anyway. If -ast-dump *is* also provided, then dump the AST declarations as well
as the lookup results. This is invaluable for cross-correlating the lookup
information with the declarations actually found.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215393 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/AST/DeclBase.h
include/clang/Driver/CC1Options.td
include/clang/Frontend/ASTConsumers.h
include/clang/Frontend/FrontendOptions.h
lib/AST/ASTDumper.cpp
lib/Frontend/ASTConsumers.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendActions.cpp
test/Misc/ast-dump-lookups.cpp [new file with mode: 0644]
test/Modules/cxx-templates.cpp
test/PCH/cxx-namespaces.cpp
tools/clang-check/ClangCheck.cpp