Home
last modified time | relevance | path

Searched refs:NewSuffix (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DUppercaseLiteralSuffixCheck.cpp60 struct NewSuffix { struct
95 auto NewSuffix = in getNewSuffix() local
100 if (NewSuffix != NewSuffixes.end()) in getNewSuffix()
101 return NewSuffix->str(); in getNewSuffix()
107 llvm::Optional<NewSuffix>
111 NewSuffix ReplacementDsc; in shouldReplaceLiteralSuffix()
174 llvm::Optional<std::string> NewSuffix = in shouldReplaceLiteralSuffix() local
176 if (!NewSuffix || ReplacementDsc.OldSuffix == *NewSuffix) in shouldReplaceLiteralSuffix()
180 ReplacementDsc.FixIt = FixItHint::CreateReplacement(*Range, *NewSuffix); in shouldReplaceLiteralSuffix()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp67 std::string NewSuffix; member in __anon3ac310fb0111::FixItActionSuffixInserter
70 FixItActionSuffixInserter(std::string NewSuffix, bool FixWhatYouCan) in FixItActionSuffixInserter() argument
71 : NewSuffix(std::move(NewSuffix)) { in FixItActionSuffixInserter()
79 NewSuffix + llvm::sys::path::extension(Path)); in RewriteFilename()
/llvm-project-15.0.7/llvm/tools/gold/
H A Dgold-plugin.cpp704 std::string &NewSuffix) { in getThinLTOOldAndNewSuffix() argument
710 NewSuffix = std::string(Split.second); in getThinLTOOldAndNewSuffix()
716 StringRef NewSuffix) { in getThinLTOObjectFileName() argument
718 return (Path + NewSuffix).str(); in getThinLTOObjectFileName()
1058 std::string OldSuffix, NewSuffix; in runLTO() local
1059 getThinLTOOldAndNewSuffix(OldSuffix, NewSuffix); in runLTO()
1069 getThinLTOObjectFileName(F.name, OldSuffix, NewSuffix); in runLTO()