Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: tools/clang/empty_string/tests/test-expected.cc

Issue 448693003: Fix bitrot in Chrome clang tool infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/empty_string/tests/test-expected.cc
diff --git a/tools/clang/empty_string/tests/test-expected.cc b/tools/clang/empty_string/tests/test-expected.cc
index 7fd9613424aff611997ae48dbd6804295c7a8928..6762e375eb93137df990b61968d335a28cea30b1 100644
--- a/tools/clang/empty_string/tests/test-expected.cc
+++ b/tools/clang/empty_string/tests/test-expected.cc
@@ -7,14 +7,14 @@
#include <string>
// Tests for std::string declarations.
-void TestDeclarations() { std::string a, b("abc"), c; }
+void TestDeclarations() {
+ std::string a, b("abc"), c;
+}
// Tests for std::string allocated with new.
void TestNew() {
- std::string* a = new std::string,
- *b = new std::string("abc"),
- *c = new std::string,
- *d = new std::string();
+ std::string* a = new std::string, *b = new std::string("abc"),
+ *c = new std::string, *d = new std::string();
}
// Tests for std::string construction in initializer lists.
@@ -43,3 +43,4 @@ void TestWideTemporaries(const std::wstring& reference_argument,
TestWideTemporaries(std::wstring(), std::wstring());
TestWideTemporaries(std::wstring(), std::wstring());
}
+

Powered by Google App Engine
This is Rietveld 408576698