summaryrefslogtreecommitdiffstats
path: root/clang/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
commitd6ea9028e7ebbb779b04fc961a0c5907a86dd7f7 (patch)
tree79e84946b0d986e9d9ff4aefcf7489d9bdb74ed5 /clang/lib/Frontend/FrontendAction.cpp
parent4c4d643b6ef543a6a2afeb99fb8aae807ae68446 (diff)
downloadbcm5719-llvm-d6ea9028e7ebbb779b04fc961a0c5907a86dd7f7.tar.gz
bcm5719-llvm-d6ea9028e7ebbb779b04fc961a0c5907a86dd7f7.zip
Simplify PreprocessorOptions, it doesn't need abstracted field access.
llvm-svn: 89047
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
-rw-r--r--clang/lib/Frontend/FrontendAction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index 2629b446f07..ff63a0dab5f 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud