aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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);