r372646 - [ASTImporter] 2nd attempt to fix Windows buildbot test errors
Gabor Marton via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 12:49:45 PDT 2019
Author: martong
Date: Mon Sep 23 12:49:45 2019
New Revision: 372646
URL: http://llvm.org/viewvc/llvm-project?rev=372646&view=rev
Log:
[ASTImporter] 2nd attempt to fix Windows buildbot test errors
Modified:
cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
Modified: cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp?rev=372646&r1=372645&r2=372646&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp (original)
+++ cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp Mon Sep 23 12:49:45 2019
@@ -30,9 +30,9 @@ using internal::BindableMatcher;
struct Function {
using DeclTy = FunctionDecl;
- static constexpr auto *Prototype = "void X(long);";
+ static constexpr auto *Prototype = "void X(char*, char);";
static constexpr auto *ConflictingPrototype = "void X(double);";
- static constexpr auto *Definition = "void X(long a) {}";
+ static constexpr auto *Definition = "void X(char *a, char b) {}";
static constexpr auto *ConflictingDefinition = "void X(double a) {}";
BindableMatcher<Decl> getPattern() {
return functionDecl(hasName("X"), unless(isImplicit()));
More information about the cfe-commits
mailing list