From: Gabor Marton Date: Mon, 23 Sep 2019 17:29:08 +0000 (+0000) Subject: [ASTImporter] Attempt to fix Windows buildbot test errors X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59708fc5bcbea0e4e8018a49f4a92db27c16dc64;p=clang [ASTImporter] Attempt to fix Windows buildbot test errors git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372633 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/AST/ASTImporterODRStrategiesTest.cpp b/unittests/AST/ASTImporterODRStrategiesTest.cpp index a009a5731e..0c200952bd 100644 --- a/unittests/AST/ASTImporterODRStrategiesTest.cpp +++ b/unittests/AST/ASTImporterODRStrategiesTest.cpp @@ -30,9 +30,9 @@ using internal::BindableMatcher; struct Function { using DeclTy = FunctionDecl; - static constexpr auto *Prototype = "void X(int);"; + static constexpr auto *Prototype = "void X(long);"; static constexpr auto *ConflictingPrototype = "void X(double);"; - static constexpr auto *Definition = "void X(int a) {}"; + static constexpr auto *Definition = "void X(long a) {}"; static constexpr auto *ConflictingDefinition = "void X(double a) {}"; BindableMatcher getPattern() { return functionDecl(hasName("X"), unless(isImplicit()));