Searched refs:FormatLoc (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 8911 SourceLocation FormatLoc = Args[format_idx]->getBeginLoc(); in CheckFormatArguments() local 8912 if (Type == FST_NSString && SourceMgr.isInSystemMacro(FormatLoc)) in CheckFormatArguments() 8918 Diag(FormatLoc, diag::warn_format_nonliteral_noargs) in CheckFormatArguments() 8926 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments() 8927 << FixItHint::CreateInsertion(FormatLoc, "\"%s\", "); in CheckFormatArguments() 8930 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments() 8931 << FixItHint::CreateInsertion(FormatLoc, "@\"%@\", "); in CheckFormatArguments() 8935 Diag(FormatLoc, diag::warn_format_nonliteral) in CheckFormatArguments()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 6114 SMLoc FormatLoc, in parseSymbolicSplitFormat() argument 6120 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat() 6145 Error(FormatLoc, "unsupported format"); in parseSymbolicSplitFormat()
|