We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2927ef2 commit f76fc26Copy full SHA for f76fc26
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -564,7 +564,7 @@ int clangTidyMain(int argc, const char **argv) {
564
: llvm::cl::TokenizeGNUCommandLine;
565
llvm::cl::ExpansionContext ECtx(Alloc, Tokenizer);
566
if (llvm::Error Err = ECtx.expandResponseFiles(Args)) {
567
- llvm::WithColor::error() << Err << "\n";
+ llvm::WithColor::error() << llvm::toString(std::move(Err)) << "\n";
568
return 1;
569
}
570
argc = static_cast<int>(Args.size());
clang-tools-extra/test/clang-tidy/infrastructure/read-parameters-from-file-error.cpp
@@ -0,0 +1,3 @@
1
+// RUN: echo @%t.param > %t.param && not clang-tidy %s @%t.param -- 2>&1 | FileCheck %s
2
+
3
+// CHECK: recursive expansion of
0 commit comments