Coding convention.

This commit is contained in:
Vassil Vassilev 2014-04-10 19:20:45 +02:00 committed by sftnight
parent 6bb29c9130
commit 59c7b7b2d7
2 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ namespace cling {
///\brief DynamicLibraries loaded by this Interpreter.
///
DyLibs m_DyLibs;
llvm::StringSet<> m_loadedLibraries;
llvm::StringSet<> m_LoadedLibraries;
///\brief Contains the list of the current include paths.
///

View File

@ -279,7 +279,7 @@ namespace cling {
if (canonicalLoadedLib.empty())
return kLoadLibNotFound;
if (m_loadedLibraries.find(canonicalLoadedLib) != m_loadedLibraries.end())
if (m_LoadedLibraries.find(canonicalLoadedLib) != m_LoadedLibraries.end())
return kLoadLibAlreadyLoaded;
std::string errMsg;
@ -305,7 +305,7 @@ namespace cling {
canonicalLoadedLib));
if (!insRes.second)
return kLoadLibAlreadyLoaded;
m_loadedLibraries.insert(canonicalLoadedLib);
m_LoadedLibraries.insert(canonicalLoadedLib);
return kLoadLibSuccess;
}
@ -334,7 +334,7 @@ namespace cling {
}
#endif
m_DyLibs.erase(dyLibHandle);
m_loadedLibraries.erase(canonicalLoadedLib);
m_LoadedLibraries.erase(canonicalLoadedLib);
}
bool DynamicLibraryManager::isLibraryLoaded(llvm::StringRef fullPath) const {
@ -350,7 +350,7 @@ namespace cling {
llvm::errs() << "cling::Interpreter::isDynamicLibraryLoaded(): error getting real (canonical) path\n";
return false;
}
if (m_loadedLibraries.find(buf) != m_loadedLibraries.end()) return true;
if (m_LoadedLibraries.find(buf) != m_LoadedLibraries.end()) return true;
return false;
}