summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPLexerChange.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-16 02:28:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-16 02:28:53 +0000
commit2b63d15f4986904e249f0464b2e985bef0740019 (patch)
treeb3aacf00d288fee77ad024c6b519d7be259e824f /clang/lib/Lex/PPLexerChange.cpp
parentd3967635bc0442aba6eed8c99c8d8561fe8091dd (diff)
downloadbcm5719-llvm-2b63d15f4986904e249f0464b2e985bef0740019.tar.gz
bcm5719-llvm-2b63d15f4986904e249f0464b2e985bef0740019.zip
[modules] Retain the name as written for umbrella headers and directories, rather than converting to an absolute path. No observable change expected, but this allows us to correctly compute the module for an umbrella header, which later changes will require.
llvm-svn: 237508
Diffstat (limited to 'clang/lib/Lex/PPLexerChange.cpp')
-rw-r--r--clang/lib/Lex/PPLexerChange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp
index ddc3fa646b9..f1d0593c8e1 100644
--- a/clang/lib/Lex/PPLexerChange.cpp
+++ b/clang/lib/Lex/PPLexerChange.cpp
@@ -474,7 +474,7 @@ bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) {
if (!getDiagnostics().isIgnored(diag::warn_uncovered_module_header,
StartLoc)) {
ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap();
- const DirectoryEntry *Dir = Mod->getUmbrellaDir();
+ const DirectoryEntry *Dir = Mod->getUmbrellaDir().Entry;
vfs::FileSystem &FS = *FileMgr.getVirtualFileSystem();
std::error_code EC;
for (vfs::recursive_directory_iterator Entry(FS, Dir->getName(), EC), End;
OpenPOWER on IntegriCloud