diff options
Diffstat (limited to 'include/clang/Index/DeclReferenceMap.h')
-rw-r--r-- | include/clang/Index/DeclReferenceMap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Index/DeclReferenceMap.h b/include/clang/Index/DeclReferenceMap.h index 1ed64369fc..73f2fe50b3 100644 --- a/include/clang/Index/DeclReferenceMap.h +++ b/include/clang/Index/DeclReferenceMap.h @@ -24,27 +24,27 @@ namespace clang { class NamedDecl; namespace idx { - + /// \brief Maps NamedDecls with the ASTLocations that reference them. /// /// References are mapped and retrieved using the canonical decls. class DeclReferenceMap { public: explicit DeclReferenceMap(ASTContext &Ctx); - + typedef std::multimap<NamedDecl*, ASTLocation> MapTy; typedef pair_value_iterator<MapTy::iterator> astlocation_iterator; astlocation_iterator refs_begin(NamedDecl *D) const; astlocation_iterator refs_end(NamedDecl *D) const; bool refs_empty(NamedDecl *D) const; - + private: mutable MapTy Map; }; } // end idx namespace - + } // end clang namespace #endif |