ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 24 Oct 2015 06:42:42 +0000 (06:42 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 24 Oct 2015 06:42:42 +0000 (06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251181 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ScalarReplAggregates.cpp

index 65cb008..114d22d 100644 (file)
@@ -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) {