From: NAKAMURA Takumi <geek4civic@gmail.com>
Date: Sat, 24 Oct 2015 06:42:42 +0000 (+0000)
Subject: ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a6f34a57ce519310450944f55569e22b43710280;p=oota-llvm.git

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
---

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) {