aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-10 00:35:27 +0000
committerChris Lattner <sabre@nondot.org>2010-01-10 00:35:27 +0000
commitc1abafc4fad5fc5ae0d428d0074495e3d2164f98 (patch)
tree230b22b861d97f9c947b0875046bb2eadf4d2bbe
parent804f65271953f358dc01bfcf74a93e8c93c5b2d6 (diff)
clarify comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93084 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Lex/PPDirectives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp
index a719a541a3..d926617d7d 100644
--- a/lib/Lex/PPDirectives.cpp
+++ b/lib/Lex/PPDirectives.cpp
@@ -437,8 +437,8 @@ const FileEntry *Preprocessor::LookupFile(const char *FilenameStart,
if (FE) {
// Warn about normal quoted #include from framework headers. Since
// framework headers are published (both public and private ones) they
- // should not do relative searches, they should do an include relative to
- // their framework.
+ // should not do relative searches, they should do an include with the
+ // framework path included.
if (!isAngled && CurDir && FilenameTokLoc.isValid() &&
CurDir->isFramework() && CurDir == CurDirLookup)
Diag(FilenameTokLoc, diag::warn_pp_relative_include_from_framework);