[PATCH] D86926: FormatTest: Provide real line number in failure messages

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 08:02:53 PDT 2020


arichardson added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:23
 using clang::tooling::toReplacements;
+using testing::internal::ScopedTrace;
 
----------------
This is an internal class in the current gtest.h, but upstream has now included it in the public API (https://github.com/google/googletest/commit/9c82e7745c257f38d7dd7ff8a9759ea58b6a4e89)
 and documents its use here https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#adding-traces-to-assertions


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86926/new/

https://reviews.llvm.org/D86926



More information about the cfe-commits mailing list