CXX consistency.

This commit is contained in:
Vassil Vassilev 2014-03-27 14:56:11 +01:00 committed by sftnight
parent 73113c2c4b
commit 1f25fe3a00
2 changed files with 8 additions and 3 deletions

View File

@ -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:

View File

@ -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