Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rootcling: always wait for the decl to select a class
  • Loading branch information
pcanal committed Oct 23, 2020
commit a74e0196e166dc6708ad453bde3af647349a7b32
5 changes: 3 additions & 2 deletions core/dictgen/src/Scanner.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,9 @@ bool RScanner::TreatRecordDeclOrTypedefNameDecl(clang::TypeDecl* typeDecl)
if (selectedFromTypedef) {
if (!IsElementPresent(fSelectedTypedefs, typedefNameDecl))
fSelectedTypedefs.push_back(typedefNameDecl);
// Early exit here if we are not in presence of XML
if (!fSelectionRules.IsSelectionXMLFile()) return true;
// For both rootcling and genreflex, wait until we see
// the decl to select it.
return true;
}

if (selected->IsFromTypedef()) {
Expand Down