[PATCH] Add a clang-tidy flag to support temporary destructor-aware analysis (workaround for bug 15599).

Alexander Kornienko alexfh at google.com
Wed Apr 30 07:21:36 PDT 2014


================
Comment at: test/clang-tidy/temporaries.cpp:3
@@ +2,3 @@
+// FileCheck complains if the input file is empty, so add a dummy line.
+// RUN: echo foo >> %t.log
+// RUN: FileCheck %s < %t.log
----------------
You don't need this now as the correct output is guaranteed to be non-empty. And you can now just pipe clang-tidy output to FileCheck

http://reviews.llvm.org/D3556






More information about the cfe-commits mailing list