Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp372 std::string NewInclude = in insert() local
379 NewInclude = "\n" + NewInclude; in insert()
380 return tooling::Replacement(FileName, InsertOffset, 0, NewInclude); in insert()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp728 SmallString<128> NewInclude("<"); in diagnoseFrameworkInclude() local
730 NewInclude += StringRef(ToFramework).drop_back(10); // drop .framework in diagnoseFrameworkInclude()
731 NewInclude += "/"; in diagnoseFrameworkInclude()
733 NewInclude += IncludeFilename; in diagnoseFrameworkInclude()
734 NewInclude += ">"; in diagnoseFrameworkInclude()
737 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude()
/external/clang/lib/Format/
DFormat.cpp1588 std::string NewInclude = !IncludeDirective.endswith("\n") in fixCppIncludeInsertions() local
1591 Result.insert(tooling::Replacement(FileName, Offset, 0, NewInclude)); in fixCppIncludeInsertions()