diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2020-11-16 18:55:05 -0600 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2020-11-16 18:59:08 -0600 |
commit | fc115f2e73a2049211efa231b6c54c29248efdf5 (patch) | |
tree | be34fe77abbbeea222a1eb48b1e68615d2d0d3c8 /polly/include | |
parent | b16e4d3fc11d890480a6b5ecd61874e0e19ed5b7 (diff) | |
download | llvm-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.h | 4 |
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 { |