Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit d56b735

Browse files
committed
Fix build break
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252120 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 7cdb539 commit d56b735

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Lex/PPMacroExpansion.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,10 +1639,9 @@ void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
16391639
if (FeatureII->getBuiltinID() != 0) {
16401640
Value = true;
16411641
} else {
1642-
const LangOptions &LangOpts = PP.getLangOpts();
16431642
StringRef Feature = FeatureII->getName();
16441643
Value = llvm::StringSwitch<bool>(Feature)
1645-
.Case("__make_integer_seq", LangOpts.CPlusPlus)
1644+
.Case("__make_integer_seq", getLangOpts().CPlusPlus)
16461645
.Default(false);
16471646
}
16481647
} else if (II == Ident__has_attribute)

0 commit comments

Comments
 (0)