aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-17 05:52:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-17 05:52:41 +0000
commit049d3a06ea9f8fc03582488a2b7f24512565a335 (patch)
tree0969d15cfb854c722a9e87b50ddba573dc7c9d1f /lib/Frontend/FrontendAction.cpp
parent9298cfc7475c48fa42b168c37f628663d65ddde7 (diff)
Simplify PreprocessorOptions, it doesn't need abstracted field access.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FrontendAction.cpp')
-rw-r--r--lib/Frontend/FrontendAction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/FrontendAction.cpp b/lib/Frontend/FrontendAction.cpp
index 2629b446f0..ff63a0dab5 100644
--- a/lib/Frontend/FrontendAction.cpp
+++ b/lib/Frontend/FrontendAction.cpp
@@ -90,10 +90,10 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
goto failure;
/// Use PCH?
- if (!CI.getPreprocessorOpts().getImplicitPCHInclude().empty()) {
+ if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) {
assert(hasPCHSupport() && "This action does not have PCH support!");
CI.createPCHExternalASTSource(
- CI.getPreprocessorOpts().getImplicitPCHInclude());
+ CI.getPreprocessorOpts().ImplicitPCHInclude);
if (!CI.getASTContext().getExternalSource())
goto failure;
}