CXX consistency.
This commit is contained in:
parent
73113c2c4b
commit
1f25fe3a00
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user