/dports/devel/creduce/creduce-2.10.0/clang_delta/ |
H A D | RenameCXXMethod.cpp | 209 TransAssert(MemberMD && "Invalid Member FD!"); in VisitCXXMethodDecl() 247 TransAssert((NewName != "") && "Bad new name!"); in VisitDeclRefExpr() 589 TransAssert(MD && "Invalid CXXMethodDecl!"); in rewriteOverloadExpr() 640 TransAssert(Ctx && "Bad DeclContext!"); in getFunctionDeclFromOverloadTemplate() 656 TransAssert(CalleeExpr && "NULL CalleeExpr!"); in getFunctionDeclFromReturnType() 745 TransAssert(E && "NULL Base Expr!"); in getFunctionDecl() 750 TransAssert(CurrentFD && "NULL CurrentFD!"); in getFunctionDecl() 752 TransAssert(Ctx && "Bad DeclContext!"); in getFunctionDecl() 755 TransAssert(FD && "Cannot resolve DName!"); in getFunctionDecl() 801 TransAssert(MD && "Invalid MD!"); in rewriteCXXDependentScopeMemberExpr() [all …]
|
H A D | ReduceClassTemplateParameter.cpp | 181 TransAssert(Ty && "Invalid TemplateSpecializationType!"); in VisitTemplateSpecializationTypeLoc() 254 TransAssert(CT && "NULL DescribedClassTemplate!"); in VisitClassTemplateDecl() 381 TransAssert(E && "Bad Expression!"); in removeOneParameterByArgExpression() 383 TransAssert(DRE && "Bad DeclRefExpr!"); in removeOneParameterByArgExpression() 458 TransAssert((TheParameterIndex < NumArgs) && in removeOneParameterByArgType() 481 TransAssert(Param && "NULL Parameter!"); in removeOneParameterByArgType() 538 TransAssert(0 && "Uncatched ArgKind!"); in removeOneParameterFromPartialDecl() 540 TransAssert(0 && "Unreachable code!"); in removeOneParameterFromPartialDecl() 583 TransAssert(0 && "Unreachable code!"); in getNamedDecl() 699 TransAssert((TheParameterIndex < NumArgs) && in removeParameterFromPartialSpecs() [all …]
|
H A D | ReducePointerLevel.cpp | 205 TransAssert(DD && "NULL DD!"); in VisitBinaryOperator() 373 TransAssert(DD && "Bad VarDecl!"); in VisitDeclRefExpr() 410 TransAssert(DD && "Bad VarDecl!"); in VisitMemberExpr() 421 TransAssert(DD && "Bad FieldDecl!"); in VisitMemberExpr() 440 TransAssert(DD && "Bad VarDecl!"); in VisitCXXDependentScopeMemberExpr() 611 TransAssert(0 && "Bad Decl!"); in getCanonicalDeclaratorDecl() 652 TransAssert(VD && "Bad VarDecl!"); in copyInitStr() 694 TransAssert(0 && "Unreachable code!"); in copyInitStr() 740 TransAssert(SubE && "Bad Sub Expr!"); in getNewGlobalInitStr() 778 TransAssert(0 && "Unreachable code!"); in getNewGlobalInitStr() [all …]
|
H A D | ReplaceCallExpr.cpp | 213 TransAssert(E && "NULL Expr!"); in isValidExpr() 284 TransAssert(0 && "Unreachable code!"); in isValidExpr() 325 TransAssert(V); in addOneReturnStmt() 339 TransAssert(RS && "NULL ReturnStmt!"); in addOneParmRef() 345 TransAssert(V); in addOneParmRef() 405 TransAssert(RVExpr && "Bad Return Expr!"); in hasBadEffect() 421 TransAssert(Num && "Bad NumExprs!"); in hasBadEffect() 479 TransAssert(PD && "Bad ParmVarDecl!"); in getNewParmRefStr() 507 TransAssert(0 && "Unreachable Code!"); in getNewParmRefStr() 579 TransAssert(RetE && "Bad Return Value!"); in replaceCallExpr() [all …]
|
H A D | ReduceArraySize.cpp | 94 TransAssert(CollectionVisitor && "NULL CollectionVisitor!"); in HandleTranslationUnit() 96 TransAssert(TheVarDecl && "NULL TheVarDecl!"); in HandleTranslationUnit() 97 TransAssert((TheDimValue >= 0) && "Bad TheDimValue!"); in HandleTranslationUnit() 118 TransAssert(OrigDimVec && "Null OrigDimVec!"); in doAnalysis() 121 TransAssert((DimSz == OrigDimVec->size()) && in doAnalysis() 165 TransAssert(ArrayTy && "Invalid ArrayType!"); in rewriteArrayVarDecl() 167 TransAssert((Dim > TheDimIdx) && "Bad Dimension Index!"); in rewriteArrayVarDecl() 203 TransAssert((Dim == TyVec.size()) && in handleOneVar() 233 TransAssert(0 && "Unreachable code!"); in isIntegerExpr() 246 TransAssert(BaseE && "Empty Base expression!"); in handleOneASE() [all …]
|
H A D | RemoveBaseClass.cpp | 101 TransAssert(TheBaseClass && "TheBaseClass is NULL!"); in HandleTranslationUnit() 102 TransAssert(TheDerivedClass && "TheDerivedClass is NULL!"); in HandleTranslationUnit() 110 TransAssert(RewriteVisitor && "NULL RewriteVisitor!"); in HandleTranslationUnit() 162 TransAssert(Base->hasDefinition() && in handleOneCXXRecordDecl() 165 TransAssert(CanonicalRD->hasDefinition() && in handleOneCXXRecordDecl() 212 TransAssert(EndLoc.isValid() && "Invalid RBraceLoc!"); in copyBaseClassDecls() 218 TransAssert(!DeclsStr.empty() && "Empty DeclsStr!"); in copyBaseClassDecls() 233 TransAssert((NumBases >= 1) && "TheDerivedClass doesn't have any base!"); in removeBaseSpecifier() 262 TransAssert(0 && "Unreachable code!"); in removeBaseSpecifier() 276 TransAssert(Ty && "Invalid Base Class Type!"); in rewriteOneCtor()
|
H A D | RewriteUtils.cpp | 293 TransAssert(0 && "Invalid Expr!"); in getArgWrapper() 307 TransAssert(0 && "Invalid Expr!"); in getNumArgsWrapper() 319 TransAssert(Arg && "Null arg!"); in removeArgFromExpr() 921 TransAssert(!isa<FunctionDecl>(ND) && in replaceNamedDeclName() 923 TransAssert(!isa<UsingDirectiveDecl>(ND) && in replaceNamedDeclName() 1062 TransAssert(StartBuf < EndBuf); in getStringBetweenLocs() 1074 TransAssert(StartBuf <= EndBuf); in getStringBetweenLocsAfterStart() 1123 TransAssert(VD && "Bad VarDecl!"); in getDeclGroupStrAndRemove() 1148 TransAssert(DGR.getDeclGroup().size() > 1); in getDeclGroupStrAndRemove() 1187 TransAssert(VD && "Bad VD!"); in getDeclGroupRefEndLoc() [all …]
|
H A D | RemoveNamespace.cpp | 141 TransAssert(TSI && "Bad TypeSourceInfo!"); in VisitClassTemplateSpecializationDecl() 224 TransAssert(NNS && "Bad NameSpecifier!"); in VisitUsingDecl() 268 TransAssert(CXXRD && "Invalid CXXRecordDecl"); in VisitCXXConstructorDecl() 290 TransAssert(CXXRD && "Invalid CXXRecordDecl"); in VisitCXXDestructorDecl() 386 TransAssert(TplD && "Invalid TemplateDecl!"); in VisitTemplateSpecializationTypeLoc() 419 TransAssert(Ty && "Bad TypePtr!"); in VisitClassTemplatePartialSpecializationDecl() 426 TransAssert(TplD && "Invalid TemplateDecl!"); in VisitClassTemplatePartialSpecializationDecl() 428 TransAssert(ND && "Invalid NamedDecl!"); in VisitClassTemplatePartialSpecializationDecl() 431 TransAssert(CXXRD && "Invalid CXXRecordDecl!"); in VisitClassTemplatePartialSpecializationDecl() 493 TransAssert(CXXRD && "Invalid CXXRecordDecl!"); in VisitInjectedClassNameTypeLoc() [all …]
|
H A D | CommonRenameClassRewriteVisitor.h | 131 TransAssert(Ty && "Bad TypePtr!"); in VisitClassTemplatePartialSpecializationDecl() 134 TransAssert(TST && "Bad TemplateSpecializationType!"); in VisitClassTemplatePartialSpecializationDecl() 138 TransAssert(TplD && "Invalid TemplateDecl!"); in VisitClassTemplatePartialSpecializationDecl() 140 TransAssert(ND && "Invalid NamedDecl!"); in VisitClassTemplatePartialSpecializationDecl() 143 TransAssert(CXXRD && "Invalid CXXRecordDecl!"); in VisitClassTemplatePartialSpecializationDecl() 175 TransAssert(TSI && "Bad TypeSourceInfo!"); in VisitClassTemplateSpecializationDecl() 210 TransAssert(CXXRD && "Invalid CXXRecordDecl"); in VisitCXXConstructorDecl() 225 TransAssert(CXXRD && "Invalid CXXRecordDecl"); in VisitCXXDestructorDecl() 266 TransAssert(CXXRD && "Invalid CXXRecordDecl!"); in VisitInjectedClassNameTypeLoc() 350 TransAssert(TmplD && "Invalid TemplateDecl!"); in renameTemplateName() [all …]
|
H A D | RemoveNestedFunction.cpp | 169 TransAssert(TheFuncDecl && "NULL TheFuncDecl!"); in HandleTranslationUnit() 170 TransAssert(TheStmt && "NULL TheStmt!"); in HandleTranslationUnit() 171 TransAssert(TheCallExpr && "NULL TheCallExpr"); in HandleTranslationUnit() 202 TransAssert((BeginPos != std::string::npos) && "Cannot find < !"); in getVarStrForTemplateSpecialization() 203 TransAssert((EndPos != std::string::npos) && "Cannot find > !"); in getVarStrForTemplateSpecialization() 204 TransAssert((EndPos > BeginPos) && "Invalid <> pair!"); in getVarStrForTemplateSpecialization() 341 TransAssert(E && "NULL Base Expr!"); in getNewTmpVariableStr() 359 TransAssert(Ctx && "Bad DeclContext!"); in getNewTmpVariableStr() 362 TransAssert(FD && "Cannot resolve DName!"); in getNewTmpVariableStr() 394 TransAssert(TST && "Invalid TemplateSpecialization Type!"); in getNewTmpVariableStr() [all …]
|
H A D | UnionToStruct.cpp | 134 TransAssert(TheRecordDecl && "Cannot have NULL TheRecordDecl!"); in HandleTranslationUnit() 180 TransAssert(RD && "NULL RecordDecl!"); in rewriteOneRecordDecl() 188 TransAssert(RD && "NULL RecordDecl!"); in rewriteRecordDecls() 216 TransAssert((I != E) && "Empty RecordDecl!"); in getInitStrWithPointerType() 243 TransAssert((I != E) && "Empty RecordDecl!"); in getInitStrWithNonPointerType() 277 TransAssert(!DGR.isNull() && "Bad DeclRefGroup!"); in isTheFirstDecl() 384 TransAssert(VD && "Invalid Declarator kind!"); in rewriteDeclarators() 407 TransAssert(RDTy && "Bad RecordType!"); in addOneDeclarator() 414 TransAssert(CanonicalRD && "NULL CanonicalRD!"); in addOneDeclarator() 436 TransAssert(CanonicalRD && "NULL CanonicalRD!"); in addOneRecord() [all …]
|
H A D | AggregateToScalar.cpp | 71 TransAssert(0 && "Bad FD!\n"); in VisitMemberExpr() 79 TransAssert(RD && "NULL RecordDecl!"); in VisitMemberExpr() 137 TransAssert(TheVarDecl && "NULL TheVarDecl!"); in HandleTranslationUnit() 138 TransAssert(TheIdx && "NULL TheIdx!"); in HandleTranslationUnit() 164 TransAssert(!dyn_cast<ParmVarDecl>(TheVarDecl) && in addTmpVar() 168 TransAssert(TheDeclStmt && "NULL TheDeclStmt"); in addTmpVar() 191 TransAssert((VarT->isStructureType() || VarT->isUnionType() in createNewVar() 231 TransAssert(!TheExprSet->empty() && "TheExprSet cannot be empty!"); in doRewrite() 278 TransAssert(BaseE && "Invalid Base Expr for ArraySubscriptExpr!"); in addOneExpr() 322 TransAssert(CachedESet && "NULL CachedESet!"); in addOneExpr()
|
H A D | SimplifyStruct.cpp | 96 TransAssert(FD && "Invalid FieldDecl!"); in VisitRecordDecl() 210 TransAssert(0 && "Bad FD!\n"); in VisitMemberExpr() 220 TransAssert(RT && "Invalid record type!"); in VisitMemberExpr() 224 TransAssert((ReplacingRD == ConsumerInstance->ReplacingRecordDecl) && in VisitMemberExpr() 258 TransAssert((Pos != std::string::npos) && "Cannot find arrow or dot!"); in VisitMemberExpr() 275 TransAssert(PeriodPos.isValid() && "Bad dot position!"); in VisitMemberExpr() 299 TransAssert(CollectionVisitor && "NULL CollectionVisitor!"); in HandleTranslationUnit() 312 TransAssert(RewriteVisitor && "NULL RewriteVisitor!"); in HandleTranslationUnit() 313 TransAssert(TheRecordDecl && "NULL TheRecordDecl!"); in HandleTranslationUnit() 314 TransAssert(ReplacingRecordDecl && "NULL ReplacingRecordDecl!"); in HandleTranslationUnit()
|
H A D | CopyPropagation.cpp | 287 TransAssert(CollectionVisitor && "NULL CollectionVisitor!"); in HandleTranslationUnit() 290 TransAssert(TheCopyExpr && "NULL TheCopyExpr!"); in HandleTranslationUnit() 321 TransAssert(0 && "Unreachable code!"); in isValidExpr() 338 TransAssert(0 && "Unreachable code!"); in isValidLhs() 357 TransAssert(0 && "Unreachable code!"); in isConstantExpr() 369 TransAssert(VD && "Bad VD!"); in updateExpr() 390 TransAssert(0 && "Uncatched Expr!"); in updateExpr() 393 TransAssert(0 && "Unreachable code!"); in updateExpr() 455 TransAssert(ESet && "Couldn't new ExprSet"); in addOneDominatedExpr() 470 TransAssert(ESet && "Empty Expr Set!"); in doCopyPropagation()
|
H A D | Transformation.cpp | 110 TransAssert(MainBuf && "Empty MainBuf!"); in outputOriginalSource() 165 TransAssert(NewE && "NULL NewE!"); in ignoreSubscriptExprParenCasts() 191 TransAssert(Exp && "NULL Exp!"); in getInitExprByIndex() 198 TransAssert(Exp && "Exp cannot be NULL"); in getInitExprByIndex() 238 TransAssert(VD && "Bad VarDecl!"); in getInitExprFromBase() 363 TransAssert(0 && "Non-integer value!"); in getConstArraySize() 383 TransAssert(FD && "Bad FD!\n"); in getBaseExprAndIdxs() 433 TransAssert(Ty && "NULL Type Ptr!"); in getBasePointerElemType() 683 TransAssert(CXXRD && "Invalid CXXRD!"); in getBaseDeclFromTemplateSpecializationType() 823 TransAssert(Base && in getBaseDeclFromType() [all …]
|
H A D | ReducePointerPairs.cpp | 161 TransAssert(DRE && "Invalid DRE for Paired VarDecl!"); in VisitVarDecl() 172 TransAssert(DRE && "Invalid DeclRefExpr!"); in handleOneOperand() 183 TransAssert(DRE && "Invalid DeclRefExpr with UnaryOperator!"); in handleOneOperand() 214 TransAssert(LhsDRE && "Invalid LhsDRE!"); in VisitBinaryOperator() 217 TransAssert(SubDRE && "Invalid SubDRE!"); in VisitBinaryOperator() 239 TransAssert(CollectionVisitor && "NULL CollectionVisitor!"); in HandleTranslationUnit() 240 TransAssert(InvalidatingVisitor && "NULL InvalidatingVisitor!"); in HandleTranslationUnit() 254 TransAssert(TheVarDecl && "NULL TheVarDecl!"); in HandleTranslationUnit() 255 TransAssert(ThePairedVarDecl && "NULL ThePairedVarDecl!"); in HandleTranslationUnit() 302 TransAssert(E && "NULL Expr!"); in getVarDeclFromDRE()
|
H A D | RemoveUnresolvedBase.cpp | 102 TransAssert(TheDerivedClass && "NULL TheDerivedClass!"); in HandleTranslationUnit() 103 TransAssert(TheBaseSpecifier && "NULL TheBaseSpecifier!"); in HandleTranslationUnit() 116 TransAssert((NumBases >= 1) && "TheDerivedClass doesn't have any base!"); in removeBaseSpecifier() 120 TransAssert((TheIndex == 0) && "Invalid Index for the base specifier!"); in removeBaseSpecifier() 121 TransAssert((I == TheBaseSpecifier) && "Unmatched base specifier!"); in removeBaseSpecifier()
|
H A D | TemplateArgToInt.cpp | 247 TransAssert(!InvalidParamIdx.count(Idx) && "Duplicate Index!"); in collectInvalidParamIdx() 258 TransAssert(!DeclToParamIdx[D] && "Duplicate TemplateDecl!"); in handleOneTemplateDecl() 284 TransAssert(D && "NULL TemplateDecl!"); in handleTemplateArgumentLocs() 318 TransAssert(TheTypeSourceInfo && "NULL TheTypeSourceInfo"); in rewriteTemplateArgument() 362 TransAssert(ParmDecl && "Invalid ParmDecl!"); in handleOneType() 366 TransAssert(Ctx && "NULL Ctx!"); in handleOneType() 369 TransAssert(Spec && "Not a ClassTemplateSpecializationDecl!"); in handleOneType() 372 TransAssert(TmplD && "NULL TemplateDecl!"); in handleOneType() 375 TransAssert(InvalidIdx && "NULL InvalidIdx!"); in handleOneType()
|
H A D | ReplaceClassWithBaseTemplateSpec.cpp | 116 TransAssert(TheCXXRecord && "TheCXXRecord is NULL!"); in HandleTranslationUnit() 118 TransAssert(RewriteVisitor && "NULL RewriteVisitor!"); in HandleTranslationUnit() 130 TransAssert(CXXRD && "NULL CXXRD!"); in handleOneCXXRecordDecl() 131 TransAssert(CXXRD->isThisDeclarationADefinition() && "Not a definition!"); in handleOneCXXRecordDecl() 156 TransAssert((NumBases == 1) && "TheCXXRecord can have only one base!"); in removeBaseSpecifier()
|
H A D | UnifyFunctionDecl.cpp | 73 TransAssert(TheFunctionDecl && "NULL TheFunctionDecl!"); in HandleTranslationUnit() 74 TransAssert(TheFunctionDef && "NULL TheFunctionDef!"); in HandleTranslationUnit() 105 TransAssert(!SecondFD->isThisDeclarationADefinition() && in doAnalysis() 111 TransAssert(!FirstFD->isThisDeclarationADefinition() && in doAnalysis() 142 TransAssert(StartBuf < EndBuf); in hasStaticKeyword()
|
H A D | InstantiateTemplateTypeParamToInt.cpp | 224 TransAssert(TheParameter && "NULL TheParameter!"); in HandleTranslationUnit() 225 TransAssert(ParamRewriteVisitor && "NULL ParamRewriteVisitor!"); in HandleTranslationUnit() 239 TransAssert((!dyn_cast<TypeAliasTemplateDecl>(D)) && in handleOneTemplateDecl() 243 TransAssert(CanonicalD && "Invalid TemplateDecl!"); in handleOneTemplateDecl() 244 TransAssert((VisitedTemplateDecls.count(CanonicalD) == 0) && in handleOneTemplateDecl() 280 TransAssert(Def && "No Definition?"); in filterInvalidParams()
|
H A D | RemoveUnusedStructField.cpp | 146 TransAssert(TheRecordDecl && "NULL TheRecordDecl!"); in HandleTranslationUnit() 147 TransAssert(TheFieldDecl && "NULL TheFunctionDecl!"); in HandleTranslationUnit() 209 TransAssert(InitE && "Need initializer!"); in handleOneVarDecl() 286 TransAssert(ILE && "Invalid array initializer!"); in getInitExprs() 322 TransAssert(0 && "Bad RecordType!"); in getInitExprs() 331 TransAssert(FD && "NULL FieldDecl!"); in getInitExprs() 333 TransAssert(FieldIdxVec && "Cannot find FieldIdxVec!"); in getInitExprs() 353 TransAssert((VecSz == 1) && "Bad IndexVector size!"); (void)VecSz; in getInitExprs() 363 TransAssert(NumFields && "NumFields cannot be zero!"); in removeOneInitExpr()
|
H A D | MoveFunctionBody.cpp | 90 TransAssert(TheFunctionDecl && "NULL TheFunctionDecl!"); in HandleTranslationUnit() 91 TransAssert(!TheFunctionDecl->isThisDeclarationADefinition() && in HandleTranslationUnit() 93 TransAssert(TheFunctionDef && "NULL TheFunctionDef!"); in HandleTranslationUnit() 94 TransAssert(TheFunctionDef->isThisDeclarationADefinition() && in HandleTranslationUnit()
|
H A D | ReplaceDerivedClass.cpp | 92 TransAssert(TheDerivedClass && "TheDerivedClass is NULL!"); in HandleTranslationUnit() 93 TransAssert(TheBaseClass && "TheBaseClass is NULL!"); in HandleTranslationUnit() 100 TransAssert(RewriteVisitor && "NULL RewriteVisitor!"); in HandleTranslationUnit() 128 TransAssert(CXXDef->isThisDeclarationADefinition() && in isEmptyClass() 131 TransAssert(Ctx && "Invalid DeclContext!"); in isEmptyClass()
|
H A D | ParamToLocal.cpp | 84 TransAssert(RewriteVisitor && "NULL RewriteVisitor!"); in HandleTranslationUnit() 86 TransAssert(TheFuncDecl && "NULL TheFuncDecl!"); in HandleTranslationUnit() 87 TransAssert((TheParamPos >= 0) && "Invalid parameter position!"); in HandleTranslationUnit() 112 TransAssert(PV && "Unmatched ParamPos!"); in rewriteFuncDecl() 170 TransAssert(isa<FunctionDecl>(FD) && "Must be a FunctionDecl"); in isValidFuncDecl()
|