diff --git a/tools/clang/lib/Sema/SemaCodeComplete.cpp b/tools/clang/lib/Sema/SemaCodeComplete.cpp index 4484659d9f..b1b4668ba3 100644 --- a/tools/clang/lib/Sema/SemaCodeComplete.cpp +++ b/tools/clang/lib/Sema/SemaCodeComplete.cpp @@ -3063,7 +3063,6 @@ CXCursorKind clang::getCursorKindForDecl(const Decl *D) { switch (cast(D)->getPropertyImplementation()) { case ObjCPropertyImplDecl::Dynamic: return CXCursor_ObjCDynamicDecl; - LLVM_C_FALLTHROUGH; //HLSL Change: avoid fallthrough warning case ObjCPropertyImplDecl::Synthesize: return CXCursor_ObjCSynthesizeDecl; @@ -3071,10 +3070,8 @@ CXCursorKind clang::getCursorKindForDecl(const Decl *D) { case Decl::Import: return CXCursor_ModuleImportDecl; - LLVM_C_FALLTHROUGH; //HLSL Change: avoid fallthrough warning case Decl::ObjCTypeParam: return CXCursor_TemplateTypeParameter; - LLVM_C_FALLTHROUGH; //HLSL Change: avoid fallthrough warning default: if (const TagDecl *TD = dyn_cast(D)) {