Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit a6f34a5

Browse files
committed
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
1 parent 5dacfa4 commit a6f34a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Transforms/Scalar/ScalarReplAggregates.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion");
6060
STATISTIC(NumConverted, "Number of aggregates converted to scalar");
6161

6262
namespace {
63+
#define SROA SROA_
6364
struct SROA : public FunctionPass {
6465
SROA(int T, bool hasDT, char &ID, int ST, int AT, int SLT)
6566
: FunctionPass(ID), HasDomTree(hasDT) {

0 commit comments

Comments
 (0)