forked from OSchip/llvm-project
IdentifierNamingCheck.cpp: try to fix MSVC build
It was failing to build with: clang-tidy\readability\IdentifierNamingCheck.cpp(640): error C2882: 'format' : illegal use of namespace identifier in expression llvm-svn: 262257
This commit is contained in:
parent
a7ad58b61c
commit
53bd9f3d7a
|
@ -634,10 +634,10 @@ void IdentifierNamingCheck::check(const MatchFinder::MatchResult &Result) {
|
|||
std::string Fixup = fixupWithStyle(Name, Style);
|
||||
if (StringRef(Fixup).equals(Name)) {
|
||||
if (!IgnoreFailedSplit) {
|
||||
DEBUG(llvm::dbgs() << Decl->getLocStart().printToString(
|
||||
*Result.SourceManager)
|
||||
<< format(": unable to split words for %s '%s'\n",
|
||||
KindName.c_str(), Name));
|
||||
DEBUG(llvm::dbgs()
|
||||
<< Decl->getLocStart().printToString(*Result.SourceManager)
|
||||
<< llvm::format(": unable to split words for %s '%s'\n",
|
||||
KindName.c_str(), Name));
|
||||
}
|
||||
} else {
|
||||
NamingCheckFailure &Failure = NamingCheckFailures[Decl];
|
||||
|
|
Loading…
Reference in New Issue