summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Pragma.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-09-26 21:18:42 +0000
committerChris Lattner <sabre@nondot.org>2008-09-26 21:18:42 +0000
commitb03dc76499b82237af88f2654d7749ee711fb008 (patch)
tree073907e587c3642963d14018f53e21a13757a025 /clang/lib/Lex/Pragma.cpp
parent94cefefcbb9e0e1603ff83ded8f22c4fc8b2155f (diff)
downloadbcm5719-llvm-b03dc76499b82237af88f2654d7749ee711fb008.tar.gz
bcm5719-llvm-b03dc76499b82237af88f2654d7749ee711fb008.zip
clean up a bunch of fixme's I added, by moving
DirectoryLookup::DirType into SourceManager.h llvm-svn: 56692
Diffstat (limited to 'clang/lib/Lex/Pragma.cpp')
-rw-r--r--clang/lib/Lex/Pragma.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp
index e6955d762fa..b6f5ac49360 100644
--- a/clang/lib/Lex/Pragma.cpp
+++ b/clang/lib/Lex/Pragma.cpp
@@ -239,8 +239,7 @@ void Preprocessor::HandlePragmaSystemHeader(Token &SysHeaderTok) {
// Notify the client, if desired, that we are in a new source file.
if (Callbacks)
Callbacks->FileChanged(TheLexer->getSourceLocation(TheLexer->BufferPtr),
- PPCallbacks::SystemHeaderPragma,
- DirectoryLookup::SystemHeaderDir);
+ PPCallbacks::SystemHeaderPragma, SrcMgr::C_System);
}
/// HandlePragmaDependency - Handle #pragma GCC dependency "foo" blah.
OpenPOWER on IntegriCloud