diff --git a/include/cling/Interpreter/Interpreter.h b/include/cling/Interpreter/Interpreter.h index 131fc686..1d84de4e 100644 --- a/include/cling/Interpreter/Interpreter.h +++ b/include/cling/Interpreter/Interpreter.h @@ -259,10 +259,15 @@ namespace cling { bool withAccessControl); ///\brief Set up include paths for runtime headers. + /// void AddRuntimeIncludePaths(const char* argv0); + ///\brief Include C++ runtime headers and definitions. - void IncludeCxxRuntime(); + /// + void IncludeCXXRuntime(); + ///\brief Include C runtime headers and definitions. + /// void IncludeCRuntime(); public: diff --git a/lib/Interpreter/Interpreter.cpp b/lib/Interpreter/Interpreter.cpp index e83b98e2..1314ef3d 100644 --- a/lib/Interpreter/Interpreter.cpp +++ b/lib/Interpreter/Interpreter.cpp @@ -192,7 +192,7 @@ namespace cling { DClient.BeginSourceFile(getCI()->getLangOpts(), &PP); if (getCI()->getLangOpts().CPlusPlus) - IncludeCxxRuntime(); + IncludeCXXRuntime(); else IncludeCRuntime(); @@ -259,7 +259,7 @@ namespace cling { } - void Interpreter::IncludeCxxRuntime() { + void Interpreter::IncludeCXXRuntime() { // Set up common declarations which are going to be available // only at runtime // Make sure that the universe won't be included to compile time by using