r367892 - [AST] Fix buildbot failure because of raw string inside macro from 367839.
Johan Vikstrom via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 10:14:47 PDT 2019
Author: jvikstrom
Date: Mon Aug 5 10:14:46 2019
New Revision: 367892
URL: http://llvm.org/viewvc/llvm-project?rev=367892&view=rev
Log:
[AST] Fix buildbot failure because of raw string inside macro from 367839.
Modified:
cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
Modified: cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp?rev=367892&r1=367891&r2=367892&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp (original)
+++ cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp Mon Aug 5 10:14:46 2019
@@ -41,7 +41,7 @@ TEST(RecursiveASTVisitor, CXXCtorInitial
for (bool VisitImplCode : {true, false}) {
CXXCtorInitializerVisitor Visitor(VisitImplCode);
Visitor.ExpectMatch("initializer", 7, 17);
- auto Code = R"cpp(
+ llvm::StringRef Code = R"cpp(
class A {};
class B : public A {
B() {};
More information about the cfe-commits
mailing list