|
@@ -7,11 +7,9 @@
|
|
|
#include "toolchain/diagnostics/null_diagnostics.h"
|
|
#include "toolchain/diagnostics/null_diagnostics.h"
|
|
|
#include "toolchain/lex/string_literal.h"
|
|
#include "toolchain/lex/string_literal.h"
|
|
|
|
|
|
|
|
-namespace Carbon::Testing {
|
|
|
|
|
|
|
+namespace Carbon::Lex {
|
|
|
namespace {
|
|
namespace {
|
|
|
|
|
|
|
|
-using Lex::StringLiteral;
|
|
|
|
|
-
|
|
|
|
|
static void BM_ValidString(benchmark::State& state, std::string_view introducer,
|
|
static void BM_ValidString(benchmark::State& state, std::string_view introducer,
|
|
|
std::string_view terminator) {
|
|
std::string_view terminator) {
|
|
|
std::string x(introducer);
|
|
std::string x(introducer);
|
|
@@ -117,4 +115,4 @@ BENCHMARK(BM_SimpleStringValue_MultilineDoubleQuote);
|
|
|
BENCHMARK(BM_SimpleStringValue_Raw);
|
|
BENCHMARK(BM_SimpleStringValue_Raw);
|
|
|
|
|
|
|
|
} // namespace
|
|
} // namespace
|
|
|
-} // namespace Carbon::Testing
|
|
|
|
|
|
|
+} // namespace Carbon::Lex
|