summaryrefslogtreecommitdiffstats
path: root/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-05-24 21:51:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-05-24 21:51:52 +0000
commit3211ce51c4b743a153105580c980dd4251b95edc (patch)
treeac48135de94ef84ac146b7e92bd0e824df1f6bd9 /lib/Sema/SemaLookup.cpp
parent13c1a496d7a9266040b50fcc5aaee0e73e9300dc (diff)
Switch a couple of users of LangOpts::GNUMode to the more appropriate LangOpts::GNUKeywords.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r--lib/Sema/SemaLookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp
index 1e57d39e95..d2d4171c93 100644
--- a/lib/Sema/SemaLookup.cpp
+++ b/lib/Sema/SemaLookup.cpp
@@ -4459,7 +4459,7 @@ static void AddKeywordsToConsumer(Sema &SemaRef,
}
}
- if (SemaRef.getLangOpts().GNUMode)
+ if (SemaRef.getLangOpts().GNUKeywords)
Consumer.addKeywordResult("typeof");
} else if (CCC.WantFunctionLikeCasts) {
static const char *const CastableTypeSpecs[] = {