summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.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/SemaCodeComplete.cpp
parent13c1a496d7a9266040b50fcc5aaee0e73e9300dc (diff)
downloadclang-3211ce51c4b743a153105580c980dd4251b95edc.tar.gz
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/SemaCodeComplete.cpp')
-rw-r--r--lib/Sema/SemaCodeComplete.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp
index 9d8ff7a4c8..f08159b79f 100644
--- a/lib/Sema/SemaCodeComplete.cpp
+++ b/lib/Sema/SemaCodeComplete.cpp
@@ -1371,8 +1371,8 @@ static void AddTypeSpecifierResults(const LangOptions &LangOpts,
} else
Results.AddResult(Result("__auto_type", CCP_Type));
- // GNU extensions
- if (LangOpts.GNUMode) {
+ // GNU keywords
+ if (LangOpts.GNUKeywords) {
// FIXME: Enable when we actually support decimal floating point.
// Results.AddResult(Result("_Decimal32"));
// Results.AddResult(Result("_Decimal64"));