diff options
author | Daniel Jasper <djasper@google.com> | 2014-03-14 14:53:17 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2014-03-14 14:53:17 +0000 |
commit | 5c77e39f2d867e4862a557aab6d81f0d6d8165c4 (patch) | |
tree | fed447af743a2d4fa2c4cdbf19f87342d469d586 /clang/lib | |
parent | 011ffb47cf4e7a448b52b1630e526b1b5ca9ea28 (diff) | |
download | bcm5719-llvm-5c77e39f2d867e4862a557aab6d81f0d6d8165c4.tar.gz bcm5719-llvm-5c77e39f2d867e4862a557aab6d81f0d6d8165c4.zip |
Don't verify module inclusions in assembler files.
llvm-svn: 203929
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 17b9b09d3e3..8ef3c918f33 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -600,7 +600,7 @@ const FileEntry *Preprocessor::LookupFile( Filename, FilenameLoc, isAngled, FromDir, CurDir, Includers, SearchPath, RelativePath, SuggestedModule, SkipCache); if (FE) { - if (SuggestedModule) + if (SuggestedModule && !LangOpts.AsmPreprocessor) HeaderInfo.getModuleMap().diagnoseHeaderInclusion( getModuleForLocation(FilenameLoc), FilenameLoc, Filename, FE); return FE; |