Home
last modified time | relevance | path

Searched refs:FormatLoc (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp7932 SourceLocation FormatLoc = Args[format_idx]->getBeginLoc(); in CheckFormatArguments() local
7933 if (Type == FST_NSString && SourceMgr.isInSystemMacro(FormatLoc)) in CheckFormatArguments()
7939 Diag(FormatLoc, diag::warn_format_nonliteral_noargs) in CheckFormatArguments()
7947 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments()
7948 << FixItHint::CreateInsertion(FormatLoc, "\"%s\", "); in CheckFormatArguments()
7951 Diag(FormatLoc, diag::note_format_security_fixit) in CheckFormatArguments()
7952 << FixItHint::CreateInsertion(FormatLoc, "@\"%@\", "); in CheckFormatArguments()
7956 Diag(FormatLoc, diag::warn_format_nonliteral) in CheckFormatArguments()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp5702 SMLoc FormatLoc, in parseSymbolicSplitFormat() argument
5708 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat()
5733 Error(FormatLoc, "unsupported format"); in parseSymbolicSplitFormat()