llvm-project/clang/unittests/Tooling/Syntax
Logan Smith 08eb614e30 [NFC][testing] Return underlying strings directly instead of OS.str()
This avoids an unnecessary copy required by 'return OS.str()', allowing
instead for NRVO or implicit move. The .str() call (which flushes the
stream) is no longer required since 65b13610a5,
which made raw_string_ostream unbuffered by default.

Differential Revision: https://reviews.llvm.org/D115374
2021-12-09 16:05:46 -08:00
..
BuildTreeTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
CMakeLists.txt [SyntaxTree] Test `findFirstLeaf` and `findLastLeaf` 2020-09-22 06:47:36 +00:00
MutationsTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
SynthesisTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
TokensTest.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
TreeTest.cpp [NFC][testing] Return underlying strings directly instead of OS.str() 2021-12-09 16:05:46 -08:00
TreeTestBase.cpp [clang] Simplify buildSyntaxTree API 2020-11-09 22:49:54 +01:00
TreeTestBase.h [Syntax] Add iterators over children of syntax trees. 2020-10-28 12:37:57 +01:00