]> granicus.if.org Git - clang/commit
Add -frewrite-imports flag.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Jun 2017 21:24:02 +0000 (21:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Jun 2017 21:24:02 +0000 (21:24 +0000)
commitf0e160dd674697ef9c569c1d1136746da70cf44e
treea3d4038a5c5596da8495ddd3bd91770ccd189d30
parent56441b2bfd2254d6b99cc76c045eb85b53e75298
Add -frewrite-imports flag.

If specified, when preprocessing, the contents of imported .pcm files will be
included in preprocessed output. The resulting preprocessed file can then be
compiled standalone without the module sources or .pcm files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305116 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/PreprocessorOutputOptions.h
include/clang/Rewrite/Frontend/FrontendActions.h
lib/Driver/Driver.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/Rewrite/FrontendActions.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
test/Modules/preprocess-build-diamond.m [new file with mode: 0644]