Skip to content

Commit a5e3ad7

Browse files
committed
[tree] rename CINT to Cling
1 parent df09d28 commit a5e3ad7

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

tree/tree/src/TSelector.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ TSelector *TSelector::GetSelector(const char *filename)
136136
TString localname;
137137
bool fromFile = false;
138138
if (strchr(filename, '.') != nullptr) {
139-
//Interpret/compile filename via CINT
139+
//Interpret/compile filename via Cling
140140
localname = ".L ";
141141
localname += filename;
142142
gROOT->ProcessLine(localname);
143143
fromFile = true;
144144
}
145145

146-
//loop on all classes known to CINT to find the class on filename
146+
//loop on all classes known to Cling to find the class on filename
147147
//that derives from TSelector
148148
const char *basename = gSystem->BaseName(filename);
149149
if (!basename) {
@@ -158,7 +158,7 @@ TSelector *TSelector::GetSelector(const char *filename)
158158
// if a file was not specified, try to load the class via the interpreter;
159159
// this returns 0 (== failure) in the case the class is already in memory
160160
// but does not have a dictionary, so we just raise a flag for better
161-
// diagnostic in the case the class is not found in the CINT ClassInfo table.
161+
// diagnostic in the case the class is not found in the Cling ClassInfo table.
162162
bool autoloaderr = false;
163163
if (!fromFile && gCling->AutoLoad(localname) != 1)
164164
autoloaderr = true;

tree/tree/src/TTree.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3846,7 +3846,7 @@ void TTree::Delete(Option_t* option /* = "" */)
38463846
ResetBit(kMustCleanup);
38473847
}
38483848

3849-
// Delete object from CINT symbol table so it can not be used anymore.
3849+
// Delete object from Cling symbol table so it can not be used anymore.
38503850
gCling->DeleteGlobal(this);
38513851

38523852
// Warning: We have intentional invalidated this object while inside a member function!

tree/treeplayer/inc/TBranchProxyDirector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace Internal{
4747
public:
4848

4949
TBranchProxyDirector(TTree* tree, Long64_t i);
50-
TBranchProxyDirector(TTree* tree, Int_t i); // cint has (had?) a problem casting int to long long
50+
TBranchProxyDirector(TTree* tree, Int_t i); // Historial: CINT had a problem casting int to long long
5151

5252
void Attach(Detail::TBranchProxy* p);
5353
void Attach(TFriendProxy* f);

tree/treeplayer/src/TBranchProxyDirector.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace Internal {
5757
/// Simple constructor
5858

5959
TBranchProxyDirector::TBranchProxyDirector(TTree* tree, Int_t i) :
60-
// cint has a problem casting int to long long
60+
// Historical: CINT had a problem casting int to long long
6161
fTree(tree),
6262
fEntry(i)
6363
{

tree/treeplayer/src/TSelectorDraw.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void TSelectorDraw::TakeAction()
15271527
else if (fAction == 6 || fAction == 7) {
15281528
TakeEstimate();
15291529
bool candle = (fAction == 7);
1530-
// Using CINT to avoid a dependency in TParallelCoord
1530+
// Using Cling to avoid a dependency in TParallelCoord
15311531
if (!fOption.Contains("goff"))
15321532
gROOT->ProcessLine(TString::Format("TParallelCoord::BuildParallelCoord((TSelectorDraw*)0x%zx,0x%zx)",
15331533
(size_t)this, (size_t)candle));

tree/treeplayer/src/TTreeProxyGenerator.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
3030
When using in interpreted mode understand why the reloading reloads the calling script and then crashes :(
3131
32-
CINT does not properly call the custom operators when doing return fNtrack.
32+
Cling does not properly call the custom operators when doing return fNtrack.
3333
34-
CINT does not handle fMatrix[2][1] well.
34+
Cling does not handle fMatrix[2][1] well.
3535
3636
The user's function in script.h are not exposed by ACLiC.
3737

0 commit comments

Comments
 (0)