Adjust to changed clang::ExceptionSpecificationType.

This commit is contained in:
Axel Naumann 2020-09-03 17:44:52 +02:00 committed by jenkins
parent 7e6762da4f
commit 4203690c46

View File

@ -490,7 +490,7 @@ namespace cling {
Proto += ")";
} else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) {
Proto += " noexcept";
if (FT->getExceptionSpecType() == EST_ComputedNoexcept) {
if (isComputedNoexcept(FT->getExceptionSpecType())) {
Proto += "(";
llvm::raw_string_ostream EOut(Proto);
FT->getNoexceptExpr()->printPretty(EOut, 0, SubPolicy,