Home
last modified time | relevance | path

Searched refs:CLE (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp216 } else if (const auto *CLE = dyn_cast<CompoundLiteralExpr>(E)) { in markCanNotBeConst() local
217 markCanNotBeConst(CLE->getInitializer(), true); in markCanNotBeConst()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp85 void BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope);
292 void JumpScopeChecker::BuildScopeInformation(CompoundLiteralExpr *CLE, in BuildScopeInformation() argument
296 Scopes.push_back(GotoScope(ParentScope, InDiag, OutDiag, CLE->getExprLoc())); in BuildScopeInformation()
563 else if (auto *CLE = EWC->getObject(i).dyn_cast<CompoundLiteralExpr *>()) in BuildScopeInformation() local
564 BuildScopeInformation(CLE, origParentScope); in BuildScopeInformation()
H A DSemaChecking.cpp5450 if (const CompoundLiteralExpr *CLE = in CheckNonNullExpr() local
5453 dyn_cast<InitListExpr>(CLE->getInitializer())) in CheckNonNullExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp1395 } else if (auto *CLE = CO.dyn_cast<CompoundLiteralExpr *>()) { in VisitExprWithCleanups() local
1397 Obj["id"] = createPointerRepresentation(CLE); in VisitExprWithCleanups()
1398 Obj["kind"] = CLE->getStmtClassName(); in VisitExprWithCleanups()
H A DTextNodeDumper.cpp722 else if (auto *CLE = C.dyn_cast<CompoundLiteralExpr *>()) in dumpCleanupObject() local
727 OS << CLE->getStmtClassName(); in dumpCleanupObject()
729 dumpPointer(CLE); in dumpCleanupObject()
H A DExprConstant.cpp1993 const CompoundLiteralExpr *CLE = cast<CompoundLiteralExpr>(E); in IsGlobalLValue() local
1994 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
4249 if (const CompoundLiteralExpr *CLE = dyn_cast<CompoundLiteralExpr>(Base)) { in handleLValueToRValueConversion() local
4259 if (!Evaluate(Lit, Info, CLE->getInitializer())) in handleLValueToRValueConversion()
4275 QualType CLETy = CLE->getType(); in handleLValueToRValueConversion()
4279 Info.Note(CLE->getExprLoc(), diag::note_declared_at); in handleLValueToRValueConversion()
H A DExpr.cpp3867 if (const CompoundLiteralExpr *CLE = dyn_cast<CompoundLiteralExpr>(this)){ in isNullPointerConstant() local
3868 const Expr *InitExpr = CLE->getInitializer(); in isNullPointerConstant()
H A DASTImporter.cpp8477 if (auto *CLE = From.dyn_cast<CompoundLiteralExpr *>()) { in Import() local
8478 if (Expected<Expr *> R = Import(CLE)) in Import()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp2208 const CompoundLiteralExpr *CLE, llvm::GlobalVariable *GV) { in setAddrOfConstantCompoundLiteral() argument
2209 bool Ok = EmittedCompoundLiterals.insert(std::make_pair(CLE, GV)).second; in setAddrOfConstantCompoundLiteral()
H A DCodeGenModule.h1040 void setAddrOfConstantCompoundLiteral(const CompoundLiteralExpr *CLE,
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsScheduleP5600.td363 def : InstRW<[P5600WriteFPUS], (instregex "^(CLE|CLEI)_(S|U)_[BHWD]$")>;
H A DMipsScheduleGeneric.td1475 def : InstRW<[GenericWriteFPUS], (instregex "^(CLE|CLEI)_(S|U)_[BHWD]$")>;
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp1844 } else if (auto *CLE = Obj.dyn_cast<CompoundLiteralExpr *>()) { in VisitExprWithCleanups() local
1846 Record.AddStmt(CLE); in VisitExprWithCleanups()