@@ -3089,7 +3089,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
30893089
30903090 // Early return to release the lock without having to execute the
30913091 // long-ish normalization.
3092- if (cl && (cl->IsLoaded () || cl->TestBit (kUnloading ))) return cl;
3092+ if (cl && (cl->IsLoaded () || cl->TestBit (kUnloading )))
3093+ return cl;
30933094
30943095 R__WRITE_LOCKGUARD (ROOT::gCoreMutex );
30953096
@@ -3098,7 +3099,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
30983099
30993100 cl = (TClass*)gROOT ->GetListOfClasses ()->FindObject (name);
31003101 if (cl) {
3101- if (cl->IsLoaded () || cl->TestBit (kUnloading )) return cl;
3102+ if (cl->IsLoaded () || cl->TestBit (kUnloading ))
3103+ return cl;
31023104
31033105 // We could speed-up some of the search by adding (the equivalent of)
31043106 //
@@ -3135,7 +3137,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
31353137 if (dict) {
31363138 // The name is normalized, so the result of the first search is
31373139 // authoritative.
3138- if (!cl && !load) return nullptr ;
3140+ if (!cl && !load)
3141+ return nullptr ;
31393142
31403143 TClass *loadedcl = (dict)();
31413144 if (loadedcl) {
@@ -3160,7 +3163,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
31603163 cl = (TClass*)gROOT ->GetListOfClasses ()->FindObject (normalizedName.c_str ());
31613164
31623165 if (cl) {
3163- if (cl->IsLoaded () || cl->TestBit (kUnloading )) return cl;
3166+ if (cl->IsLoaded () || cl->TestBit (kUnloading ))
3167+ return cl;
31643168
31653169 // we may pass here in case of a dummy class created by TVirtualStreamerInfo
31663170 load = kTRUE ;
@@ -3171,8 +3175,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
31713175 normalizedName = cl->GetName (); // Use the fact that all TClass names are normalized.
31723176 }
31733177
3174- if (!load) return nullptr ;
3175-
3178+ if (!load)
3179+ return nullptr ;
31763180// This assertion currently fails because of
31773181// TClass *c1 = TClass::GetClass("basic_iostream<char,char_traits<char> >");
31783182// TClass *c2 = TClass::GetClass("std::iostream");
@@ -3244,11 +3248,13 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
32443248
32453249 // See if the TClassGenerator can produce the TClass we need.
32463250 loadedcl = LoadClassCustom (normalizedName.c_str (),silent);
3247- if (loadedcl) return loadedcl;
3251+ if (loadedcl)
3252+ return loadedcl;
32483253
32493254 // We have not been able to find a loaded TClass, return the Emulated
32503255 // TClass if we have one.
3251- if (cl) return cl;
3256+ if (cl)
3257+ return cl;
32523258
32533259 if (ispair) {
32543260 if (hint_pair_offset && hint_pair_size) {
@@ -3277,8 +3283,8 @@ TClass *TClass::GetClass(const char *name, Bool_t load, Bool_t silent, size_t hi
32773283 }
32783284 }
32793285 }
3280- } else if (TClassEdit::IsSTLCont ( normalizedName.c_str () )) {
3281-
3286+ } else if (TClassEdit::IsSTLCont ( normalizedName.c_str () ))
3287+ {
32823288 return gInterpreter ->GenerateTClass (normalizedName.c_str (), kTRUE , silent);
32833289 }
32843290
@@ -5892,7 +5898,7 @@ TClass *TClass::LoadClassDefault(const char *requestedname, Bool_t /* silent */)
58925898 DictFuncPtr_t dict = TClassTable::GetDictNorm (requestedname);
58935899
58945900 if (!dict) {
5895- if (gInterpreter ->AutoLoad (requestedname,kTRUE )) {
5901+ if (gInterpreter ->AutoLoad (requestedname, kTRUE )) {
58965902 dict = TClassTable::GetDictNorm (requestedname);
58975903 }
58985904 }
0 commit comments