[PATCH] D50942: SemaExceptionSpec: ensure old/new specs are both parsed and evaluated when comparing
Victor Zverovich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 19 07:33:50 PDT 2018
vitaut added inline comments.
================
Comment at: lib/Sema/SemaExceptionSpec.cpp:915
+ // lexically-surrounding class.
+ switch (New->getType()->castAs<FunctionProtoType>()->getExceptionSpecType()) {
+ case EST_Unparsed:
----------------
Did you mean `Old` here?
Repository:
rC Clang
https://reviews.llvm.org/D50942
More information about the cfe-commits
mailing list