aboutsummaryrefslogtreecommitdiff
path: root/polly/include
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2020-11-16 18:55:05 -0600
committerMichael Kruse <llvm-project@meinersbur.de>2020-11-16 18:59:08 -0600
commitfc115f2e73a2049211efa231b6c54c29248efdf5 (patch)
treebe34fe77abbbeea222a1eb48b1e68615d2d0d3c8 /polly/include
parentb16e4d3fc11d890480a6b5ecd61874e0e19ed5b7 (diff)
downloadllvm-project-fc115f2e73a2049211efa231b6c54c29248efdf5.tar.gz
[Polly] Move SimplifyVisitor into polly namespace.
Declarations in headers should not be in the anonymous namespace. Compilers also warn about the use of <anon namespace>::SimplifyVisitor as a public field in polly::SimplifyPass and polly::SimplifyPrinterPass.
Diffstat (limited to 'polly/include')
-rw-r--r--polly/include/polly/Simplify.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/Simplify.h b/polly/include/polly/Simplify.h
index aa8c8a2cd2e3..952f937a91c4 100644
--- a/polly/include/polly/Simplify.h
+++ b/polly/include/polly/Simplify.h
@@ -22,7 +22,7 @@ class PassRegistry;
class Pass;
} // namespace llvm
-namespace {
+namespace polly {
class SimplifyVisitor {
private:
/// The invocation id (if there are multiple instances in the pass manager's
@@ -114,7 +114,7 @@ public:
void releaseMemory();
};
-} // namespace
+} // namespace polly
namespace polly {