From a6f34a57ce519310450944f55569e22b43710280 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 24 Oct 2015 06:42:42 +0000 Subject: [PATCH] ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251181 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/ScalarReplAggregates.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 65cb0086753..114d22ddf2e 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -60,6 +60,7 @@ STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion"); STATISTIC(NumConverted, "Number of aggregates converted to scalar"); namespace { +#define SROA SROA_ struct SROA : public FunctionPass { SROA(int T, bool hasDT, char &ID, int ST, int AT, int SLT) : FunctionPass(ID), HasDomTree(hasDT) { -- 2.34.1