Mercurial > hg > CbC > CbC_llvm
comparison 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 |
comparison
equal
deleted
inserted
replaced
151:dbda48fb9435 | 152:e8a9b4f4d755 |
---|---|
806 SimplifiedTypeClass clang::getSimplifiedTypeClass(CanQualType T) { | 806 SimplifiedTypeClass clang::getSimplifiedTypeClass(CanQualType T) { |
807 switch (T->getTypeClass()) { | 807 switch (T->getTypeClass()) { |
808 case Type::Builtin: | 808 case Type::Builtin: |
809 switch (cast<BuiltinType>(T)->getKind()) { | 809 switch (cast<BuiltinType>(T)->getKind()) { |
810 case BuiltinType::Void: | 810 case BuiltinType::Void: |
811 #ifndef noCbC | |
812 case BuiltinType::__Code: | |
813 #endif | |
811 return STC_Void; | 814 return STC_Void; |
812 | 815 |
813 case BuiltinType::NullPtr: | 816 case BuiltinType::NullPtr: |
814 return STC_Pointer; | 817 return STC_Pointer; |
815 | 818 |