[PATCH] D44439: [Sema] Pop function scope when instantiating a func with skipped body

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 14 02:07:40 PDT 2018


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Sema/SemaTemplateInstantiateDecl.cpp:3942
       ActOnSkippedFunctionBody(Function);
+      // FIXME: finishing the function body while in an expression evaluation
+      // context seems wrong. Investigate more.
----------------
(hmm, not sure whether it's better to duplicate or not-duplicate this comment. up to you)


Repository:
  rC Clang

https://reviews.llvm.org/D44439





More information about the cfe-commits mailing list