[cfe-commits] r93084 - /cfe/trunk/lib/Lex/PPDirectives.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 9 16:35:27 PST 2010
Author: lattner
Date: Sat Jan 9 18:35:27 2010
New Revision: 93084
URL: http://llvm.org/viewvc/llvm-project?rev=93084&view=rev
Log:
clarify comment.
Modified:
cfe/trunk/lib/Lex/PPDirectives.cpp
Modified: cfe/trunk/lib/Lex/PPDirectives.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPDirectives.cpp?rev=93084&r1=93083&r2=93084&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPDirectives.cpp (original)
+++ cfe/trunk/lib/Lex/PPDirectives.cpp Sat Jan 9 18:35:27 2010
@@ -437,8 +437,8 @@
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);
More information about the cfe-commits
mailing list