Merge test branch into master (#1047)

* #1041 filter -W workaround for ICG linking to LLVM 10 libclang-cpp.so (#1044)

* 1043 drg checkpoint memory leak (#1045)

* #1043 drg fix drg checkpoint memory leak

* 947 sie generation rework (#1046)

generate  S_sie.resource at during build instead of runtime
This commit is contained in:
Scott Fennell
2020-09-01 15:55:19 -05:00
committed by GitHub
parent 3b89cbfdb2
commit f825dc00fc
19 changed files with 260 additions and 13 deletions

View File

@ -70,6 +70,7 @@ bool EnumVisitor::VisitEnumType(clang::EnumType *et) {
bool EnumVisitor::VisitEnumConstantDecl(clang::EnumConstantDecl *ecd) {
//std::cout << ecd->getName().str() << " = " << ecd->getInitVal().getSExtValue() << std::endl ;
eval.addEnum(ecd->getName().str() , ecd->getInitVal().getSExtValue()) ;
eval.addFullyQualifiedEnum(ecd->getQualifiedNameAsString(), ecd->getInitVal().getSExtValue());
return true ;
}