Home
last modified time | relevance | path

Searched refs:DiagMsg (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientStringConcatenationCheck.cpp72 const char *DiagMsg = in check() local
77 diag(LhsStr->getExprLoc(), DiagMsg); in check()
79 diag(PlusOperator->getExprLoc(), DiagMsg); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DClangdLSPServerTests.cpp369 static constexpr llvm::StringLiteral DiagMsg = "DiagMsg"; in TEST_F() local
373 D.Message = DiagMsg.str(); in TEST_F()
387 llvm::ValueIs(testing::ElementsAre(diagMessage(DiagMsg)))); in TEST_F()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp680 LTODiagnosticInfo(const Twine &DiagMsg, DiagnosticSeverity Severity=DS_Error) in LTODiagnosticInfo() argument
681 : DiagnosticInfo(DK_Linker, Severity), Msg(DiagMsg) {} in LTODiagnosticInfo()
H A DThinLTOCodeGenerator.cpp170 ThinLTODiagnosticInfo(const Twine &DiagMsg, in ThinLTODiagnosticInfo() argument
172 : DiagnosticInfo(DK_Linker, Severity), Msg(DiagMsg) {} in ThinLTODiagnosticInfo()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp660 LoweringDiagnosticInfo(const Twine &DiagMsg, in LoweringDiagnosticInfo() argument
662 : DiagnosticInfo(DK_Lowering, Severity), Msg(DiagMsg) {} in LoweringDiagnosticInfo()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp3433 StringRef DiagMsg; in checkTargetAttr() local
3438 DiagMsg)) { in checkTargetAttr()
3439 if (DiagMsg.empty()) in checkTargetAttr()
3443 << DiagMsg; in checkTargetAttr()
3445 if (!DiagMsg.empty()) in checkTargetAttr()
3446 Diag(LiteralLoc, diag::warn_unsupported_branch_protection_spec) << DiagMsg; in checkTargetAttr()
H A DSemaDecl.cpp8734 unsigned DiagMsg = in DiagnoseInvalidRedeclaration() local
8834 SemaRef.Diag(NewFD->getLocation(), DiagMsg) in DiagnoseInvalidRedeclaration()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1040 StringRef DiagMsg = "");
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp1698 StringRef DiagMsg; in CollectARMPACBTIOptions() local
1700 if (!llvm::ARM::parseBranchProtection(A->getValue(), PBP, DiagMsg)) in CollectARMPACBTIOptions()
1702 << A->getOption().getName() << DiagMsg; in CollectARMPACBTIOptions()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp6429 StringRef DiagMsg; in setTargetAttributes() local
6434 Arch, BPI, DiagMsg)) { in setTargetAttributes()