diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-12-01 11:08:04 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-12-01 11:08:04 +0000 |
commit | 4b08eb6308ca90a6c08e2fc79d100821b1b1f6aa (patch) | |
tree | 867cbbe32a66fd7d62dd9ce9df23a23fefdb8290 /lib/Index/ResolveLocation.cpp | |
parent | 6df2408694f81a03eb8b0e3b013272042233c061 (diff) | |
download | FreeBSD-src-4b08eb6308ca90a6c08e2fc79d100821b1b1f6aa.zip FreeBSD-src-4b08eb6308ca90a6c08e2fc79d100821b1b1f6aa.tar.gz |
Update clang to r90226.
Diffstat (limited to 'lib/Index/ResolveLocation.cpp')
-rw-r--r-- | lib/Index/ResolveLocation.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Index/ResolveLocation.cpp b/lib/Index/ResolveLocation.cpp index ed905f3..c7379f7 100644 --- a/lib/Index/ResolveLocation.cpp +++ b/lib/Index/ResolveLocation.cpp @@ -19,14 +19,13 @@ #include "clang/AST/StmtVisitor.h" #include "clang/Lex/Lexer.h" #include "clang/Basic/SourceManager.h" -#include "llvm/Support/Compiler.h" using namespace clang; using namespace idx; namespace { /// \brief Base for the LocResolver classes. Mostly does source range checking. -class VISIBILITY_HIDDEN LocResolverBase { +class LocResolverBase { protected: ASTContext &Ctx; SourceLocation Loc; @@ -83,7 +82,7 @@ public: /// \brief Searches a statement for the ASTLocation that corresponds to a source /// location. -class VISIBILITY_HIDDEN StmtLocResolver : public LocResolverBase, +class StmtLocResolver : public LocResolverBase, public StmtVisitor<StmtLocResolver, ASTLocation > { Decl * const Parent; @@ -100,7 +99,7 @@ public: /// \brief Searches a declaration for the ASTLocation that corresponds to a /// source location. -class VISIBILITY_HIDDEN DeclLocResolver : public LocResolverBase, +class DeclLocResolver : public LocResolverBase, public DeclVisitor<DeclLocResolver, ASTLocation > { public: |