[PATCH] D50942: SemaExceptionSpec: ensure old/new specs are both parsed and evaluated when comparing

Steve O'Brien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 19 09:18:32 PDT 2018


elsteveogrande marked an inline comment as done.
elsteveogrande added inline comments.


================
Comment at: lib/Sema/SemaExceptionSpec.cpp:915
+  // lexically-surrounding class.
+  switch (New->getType()->castAs<FunctionProtoType>()->getExceptionSpecType()) {
+  case EST_Unparsed:
----------------
vitaut wrote:
> Did you mean `Old` here?
facepalm, haha.  Thanks @vitaut !  :)


Repository:
  rC Clang

https://reviews.llvm.org/D50942





More information about the cfe-commits mailing list