]> granicus.if.org Git - clang/commitdiff
[ASTImporter] 2nd attempt to fix Windows buildbot test errors
authorGabor Marton <gabor.marton@ericsson.com>
Mon, 23 Sep 2019 19:49:45 +0000 (19:49 +0000)
committerGabor Marton <gabor.marton@ericsson.com>
Mon, 23 Sep 2019 19:49:45 +0000 (19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372646 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/AST/ASTImporterODRStrategiesTest.cpp

index 0c200952bdccd6976dbc270d0a1379bdd7684729..62368022a0c73943a43f508011b6618ef6936a89 100644 (file)
@@ -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()));