diff clang/lib/Sema/SemaCodeComplete.cpp @ 152:e8a9b4f4d755

pull from 146
author anatofuz
date Wed, 11 Mar 2020 18:29:16 +0900
parents 1d019706d866
children f935e5e0dbe7
line wrap: on
line diff
--- a/clang/lib/Sema/SemaCodeComplete.cpp	Fri Feb 14 15:12:50 2020 +0900
+++ b/clang/lib/Sema/SemaCodeComplete.cpp	Wed Mar 11 18:29:16 2020 +0900
@@ -808,6 +808,9 @@
   case Type::Builtin:
     switch (cast<BuiltinType>(T)->getKind()) {
     case BuiltinType::Void:
+#ifndef noCbC
+    case BuiltinType::__Code:
+#endif
       return STC_Void;
 
     case BuiltinType::NullPtr: