const ness updates in base class, etc

This commit is contained in:
manasij7479 2014-05-25 06:06:56 +05:30 committed by sftnight
parent 56b5dc86dd
commit 6d1d81309d
3 changed files with 7 additions and 3 deletions

View File

@ -35,7 +35,7 @@ namespace cling {
bool LookupObject (clang::LookupResult &R, clang::Scope *);
TagManager* getTagManager() { return m_Tags; }
TagManager* getTagManager();
private:
Interpreter* m_Interpreter;
TagManager* m_Tags;

View File

@ -28,11 +28,11 @@ namespace cling {
///\brief True if the file was generated and not already present.
///
virtual bool newFile() = 0;
virtual bool newFile() const = 0;
///\brief True if the file is in a valid state.
///
virtual bool validFile() = 0;
virtual bool validFile() const = 0;
virtual ~TagFileWrapper() {}

View File

@ -44,4 +44,8 @@ namespace cling {
// FIXME: There is an m_Interpreter in the base class InterpreterCallbacks.
}
TagManager* AutoloadCallback::getTagManager() {
return m_Tags;
}
}//end namespace cling