]> granicus.if.org Git - clang/commit
Remove 'Filename' parameter from BeginSourceFileAction.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Jun 2017 01:36:10 +0000 (01:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Jun 2017 01:36:10 +0000 (01:36 +0000)
commit772553c418344b6943a468b79e043180840eb255
treef02a6f512479eac317c00697d16335e7d10a5439
parent4ed69c25ab95ef923b9917a3c3599665ca7bbda7
Remove 'Filename' parameter from BeginSourceFileAction.

No-one was using this, and it's not meaningful in general -- FrontendActions
can be run on inputs that don't have a corresponding source file. The current
frontend input can be obtained by asking the FrontendAction if any future
action actually needs it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305045 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Frontend/FrontendAction.h
include/clang/Frontend/FrontendActions.h
include/clang/Rewrite/Frontend/FrontendActions.h
include/clang/Tooling/Tooling.h
lib/Frontend/ASTMerge.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/FrontendActions.cpp
lib/Frontend/Rewrite/FrontendActions.cpp
tools/clang-check/ClangCheck.cpp
unittests/Frontend/FrontendActionTest.cpp
unittests/Tooling/CommentHandlerTest.cpp
unittests/Tooling/ToolingTest.cpp