Skip to content

Commit fbe2ed5

Browse files
committed
Fixed a few things.
1 parent 4138991 commit fbe2ed5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clang/lib/Frontend/InitPreprocessor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,10 +1669,12 @@ void clang::InitializePreprocessor(Preprocessor &PP,
16691669
if (!InitOpts.IncludeHeader.empty()) {
16701670
AddImplicitInclude(Builder, InitOpts.IncludeHeader);
16711671
}
1672+
#if 0
16721673
// Process -include-internal-footer directive.
16731674
if (!InitOpts.IncludeFooter.empty()) {
16741675
AddImplicitInclude(Builder, InitOpts.IncludeFooter);
16751676
}
1677+
#endif
16761678
}
16771679
#endif
16781680

clang/lib/Lex/PPLexerChange.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) {
535535
}
536536
}
537537

538-
#if 0
538+
#if 1
539539
if (isInPrimaryFile() && getLangOpts().SYCLIsHost &&
540540
!getPreprocessorOpts().IncludeFooter.empty()) {
541541
SourceManager &SourceMgr = getSourceManager();

0 commit comments

Comments
 (0)