[Transform] Remove redundant declaration PollyAllowFullFunction (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 3 Jan 2022 07:08:40 +0000 (23:08 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 3 Jan 2022 07:08:40 +0000 (23:08 -0800)
The variable is declared in ScopDetection.h, which ScopInliner.cpp
includes.

Identified by readability-redundant-declaration.

polly/lib/Transform/ScopInliner.cpp

index b35d351..c93c00f 100644 (file)
@@ -26,8 +26,6 @@
 using namespace llvm;
 using namespace polly;
 
-extern bool polly::PollyAllowFullFunction;
-
 namespace {
 class ScopInliner : public CallGraphSCCPass {
   using llvm::Pass::doInitialization;