[PATCH] D53231: [Sema] Fix PR38987: keep end location of a direct initializer list

Orivej Desh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 14 00:02:06 PDT 2018


orivej added a comment.

I don't have the complete picture yet. (This is why the summary is so short.)
I have looked up that `IK_DirectList` `Kind` was known not to carry a valid `ParenRange` since https://github.com/llvm-mirror/clang/commit/188158db29f50443b6e412f2a40c800b2669c957, and that `PerformConstructorInitialization` acquired `BraceLoc` arguments specifically to support `CXXTemporaryObjectExpr`: https://github.com/llvm-mirror/clang/commit/1245a54ca6e9c5b14196461dc3f84b24ea6594b1#diff-d7cc8293491a9fdddee7ba857c028256R5921 , but then it appears that `CXXTemporaryObjectExpr` `Kind` has acquired a valid `ParenRange`, except when it is instantiated from a template…


Repository:
  rC Clang

https://reviews.llvm.org/D53231





More information about the cfe-commits mailing list