diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-01-08 18:19:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-01-08 18:19:08 +0000 |
commit | c2b51d8cf33bed92b68ee0a8e3c28411e43faffd (patch) | |
tree | 8029fa0eb9cfbeac643ea607dbfa6b7af25cb8ef /Analysis/LiveVariables.cpp | |
parent | 6fa9b88e2c3d47d606a273df2f8d03509bcff0b9 (diff) |
Added VISIBILITY_HIDDEN to classes/structs in anonymous namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Analysis/LiveVariables.cpp')
-rw-r--r-- | Analysis/LiveVariables.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp index a11ca76ca7..92186537c7 100644 --- a/Analysis/LiveVariables.cpp +++ b/Analysis/LiveVariables.cpp @@ -19,6 +19,7 @@ #include "clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h" #include "clang/Analysis/FlowSensitive/DataflowSolver.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/Support/Compiler.h" #include <string.h> #include <stdio.h> @@ -30,7 +31,9 @@ using namespace clang; //===----------------------------------------------------------------------===// namespace { -class RegisterDecls : public CFGRecStmtDeclVisitor<RegisterDecls> { +class VISIBILITY_HIDDEN RegisterDecls + : public CFGRecStmtDeclVisitor<RegisterDecls> { + LiveVariables::AnalysisDataTy& AD; public: RegisterDecls(LiveVariables::AnalysisDataTy& ad) : AD(ad) {} @@ -53,7 +56,7 @@ namespace { static const bool Alive = true; static const bool Dead = false; -class TransferFuncs : public CFGRecStmtVisitor<TransferFuncs> { +class VISIBILITY_HIDDEN TransferFuncs : public CFGRecStmtVisitor<TransferFuncs>{ LiveVariables::AnalysisDataTy& AD; LiveVariables::ValTy LiveState; public: |