Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h118 void setCode(unsigned NewFrameSize, std::vector<char> &&NewCode, SourceMap &&NewSrcMap, in setCode() argument
121 Code = std::move(NewCode); in setCode()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp2283 std::string NewCode; in replaceCRLF() local
2293 NewCode += Code.substr(LastPos); in replaceCRLF()
2296 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF()
2300 return NewCode; in replaceCRLF()
2680 auto NewCode = applyAllReplacements(Code, Replaces); in processReplacements() local
2681 if (!NewCode) in processReplacements()
2682 return NewCode.takeError(); in processReplacements()
2687 ProcessFunc(Style, *NewCode, ChangedRanges, FileName); in processReplacements()
2892 auto NewCode = applyAllReplacements( in reformat() local
2894 if (NewCode) { in reformat()
[all …]
H A DContinuationIndenter.cpp1733 auto NewCode = applyAllReplacements(RawText, Fixes.first); in reformatRawStringLiteral() local
1735 if (!NewCode) { in reformatRawStringLiteral()
1777 *NewCode, FirstStartColumn, Style.TabWidth, Encoding); in reformatRawStringLiteral()
1787 ContentStartsOnNewline || (NewCode->find('\n') != std::string::npos); in reformatRawStringLiteral()