diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-02-05 22:21:15 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-02-05 22:21:15 +0000 |
commit | 2cb4a78f9394359e3bb74060774e2245bcb9f4b7 (patch) | |
tree | 712d0ddca4e53867a288b5597be5efec6029a1bf /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 87769713cf385f373f3bc1c28913045f49277d7f (diff) | |
download | bcm5719-llvm-2cb4a78f9394359e3bb74060774e2245bcb9f4b7.tar.gz bcm5719-llvm-2cb4a78f9394359e3bb74060774e2245bcb9f4b7.zip |
Add a CC1 option -verify-pch
This option will:
- load the given pch file
- verify it is not out of date by stat'ing dependencies, and
- return 0 on success and non-zero on error
llvm-svn: 200884
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index e14fb2340e6..4c2ec441b3f 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -65,6 +65,7 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { case InitOnly: return new InitOnlyAction(); case ParseSyntaxOnly: return new SyntaxOnlyAction(); case ModuleFileInfo: return new DumpModuleInfoAction(); + case VerifyPCH: return new VerifyPCHAction(); case PluginAction: { for (FrontendPluginRegistry::iterator it = |