Searched refs:FormatLoc (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 6112 SourceLocation FormatLoc = Args[format_idx]->getBeginLoc(); in CheckFormatArguments() local 6113 if (Type == FST_NSString && SourceMgr.isInSystemMacro(FormatLoc)) in CheckFormatArguments() 6119 Diag(FormatLoc, diag::warn_format_nonliteral_noargs) in CheckFormatArguments() 6127 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments() 6128 << FixItHint::CreateInsertion(FormatLoc, "\"%s\", "); in CheckFormatArguments() 6131 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments() 6132 << FixItHint::CreateInsertion(FormatLoc, "@\"%@\", "); in CheckFormatArguments() 6136 Diag(FormatLoc, diag::warn_format_nonliteral) in CheckFormatArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 6842 SMLoc FormatLoc, in parseSymbolicSplitFormat() argument 6848 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat() 6869 return Error(FormatLoc, "unsupported format"); in parseSymbolicSplitFormat()
|