diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-05-24 21:51:52 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-05-24 21:51:52 +0000 |
commit | 7b301e2410e19caa3110a39308cdc93e44610912 (patch) | |
tree | 07a47052b6f2706f97b1249d139ffa0fc7868ba3 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 06e0fd3bc1e6de1b360c7723485e4494ec2d32f3 (diff) | |
download | bcm5719-llvm-7b301e2410e19caa3110a39308cdc93e44610912.tar.gz bcm5719-llvm-7b301e2410e19caa3110a39308cdc93e44610912.zip |
Switch a couple of users of LangOpts::GNUMode to the more appropriate LangOpts::GNUKeywords.
llvm-svn: 333233
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index 9d8ff7a4c85..f08159b79f3 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/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")); |