[polly] 42a4f51 - [Transform] Remove redundant declaration PollyAllowFullFunction (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 2 23:08:50 PST 2022
Author: Kazu Hirata
Date: 2022-01-02T23:08:40-08:00
New Revision: 42a4f5103b7087b1460463d11f7ba68d1832abfc
URL: https://github.com/llvm/llvm-project/commit/42a4f5103b7087b1460463d11f7ba68d1832abfc
DIFF: https://github.com/llvm/llvm-project/commit/42a4f5103b7087b1460463d11f7ba68d1832abfc.diff
LOG: [Transform] Remove redundant declaration PollyAllowFullFunction (NFC)
The variable is declared in ScopDetection.h, which ScopInliner.cpp
includes.
Identified by readability-redundant-declaration.
Added:
Modified:
polly/lib/Transform/ScopInliner.cpp
Removed:
################################################################################
diff --git a/polly/lib/Transform/ScopInliner.cpp b/polly/lib/Transform/ScopInliner.cpp
index b35d3518e72d7..c93c00f5870c2 100644
--- a/polly/lib/Transform/ScopInliner.cpp
+++ b/polly/lib/Transform/ScopInliner.cpp
@@ -26,8 +26,6 @@
using namespace llvm;
using namespace polly;
-extern bool polly::PollyAllowFullFunction;
-
namespace {
class ScopInliner : public CallGraphSCCPass {
using llvm::Pass::doInitialization;
More information about the llvm-commits
mailing list