Skip to content

Commit fd358af

Browse files
committed
Apply clang-format
1 parent b4124cf commit fd358af

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

flang/lib/Optimizer/Analysis/AliasAnalysis.cpp

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,23 @@ AliasResult AliasAnalysis::alias(Value lhs, Value rhs) {
8888
auto lhsSrc = getSource(lhs);
8989
auto rhsSrc = getSource(rhs);
9090
bool approximateSource = lhsSrc.approximateSource || rhsSrc.approximateSource;
91-
LLVM_DEBUG(llvm::dbgs() << "AliasAnalysis::alias\n";
92-
llvm::dbgs() << " lhs: " << lhs << "\n";
93-
llvm::dbgs() << " lhsSrc: " << lhsSrc << "\n";
94-
llvm::dbgs() << " lhsSrc kind: " << EnumToString(lhsSrc.kind) << "\n";
95-
llvm::dbgs() << " lhsSrc pointer: " << lhsSrc.attributes.test(Attribute::Pointer) << "\n";
96-
llvm::dbgs() << " lhsSrc target: " << lhsSrc.attributes.test(Attribute::Target) << "\n";
97-
llvm::dbgs() << " rhs: " << rhs << "\n";
98-
llvm::dbgs() << " rhsSrc: " << rhsSrc << "\n";
99-
llvm::dbgs() << " rhsSrc kind: " << EnumToString(rhsSrc.kind) << "\n";
100-
llvm::dbgs() << " rhsSrc pointer: " << rhsSrc.attributes.test(Attribute::Pointer) << "\n";
101-
llvm::dbgs() << " rhsSrc target: " << rhsSrc.attributes.test(Attribute::Target) << "\n";
102-
llvm::dbgs() << "\n";);
91+
LLVM_DEBUG(
92+
llvm::dbgs() << "AliasAnalysis::alias\n";
93+
llvm::dbgs() << " lhs: " << lhs << "\n";
94+
llvm::dbgs() << " lhsSrc: " << lhsSrc << "\n";
95+
llvm::dbgs() << " lhsSrc kind: " << EnumToString(lhsSrc.kind) << "\n";
96+
llvm::dbgs() << " lhsSrc pointer: "
97+
<< lhsSrc.attributes.test(Attribute::Pointer) << "\n";
98+
llvm::dbgs() << " lhsSrc target: "
99+
<< lhsSrc.attributes.test(Attribute::Target) << "\n";
100+
llvm::dbgs() << " rhs: " << rhs << "\n";
101+
llvm::dbgs() << " rhsSrc: " << rhsSrc << "\n";
102+
llvm::dbgs() << " rhsSrc kind: " << EnumToString(rhsSrc.kind) << "\n";
103+
llvm::dbgs() << " rhsSrc pointer: "
104+
<< rhsSrc.attributes.test(Attribute::Pointer) << "\n";
105+
llvm::dbgs() << " rhsSrc target: "
106+
<< rhsSrc.attributes.test(Attribute::Target) << "\n";
107+
llvm::dbgs() << "\n";);
103108

104109
// Indirect case currently not handled. Conservatively assume
105110
// it aliases with everything

0 commit comments

Comments
 (0)