[PATCH] D49508: [Sema] Mark implicitly-inserted ICE's as being part of explicit cast (PR38166)

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 20 03:51:59 PDT 2018


lebedev.ri updated this revision to Diff 156465.
lebedev.ri retitled this revision from "[Sema] Expr::skipRValueSubobjectAdjustments(): record skipped NoOp casts." to "[Sema] Mark implicitly-inserted ICE's as being part of explicit cast (PR38166)".
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.

Moved to the flag approach, which was my initial thought.
This ended up being rather too simple, of all the alternative solutions.
Oh well, that was rather sad waste of time.


Repository:
  rC Clang

https://reviews.llvm.org/D49508

Files:
  include/clang/AST/Expr.h
  include/clang/AST/Stmt.h
  lib/AST/ASTDumper.cpp
  lib/Sema/SemaCast.cpp
  test/Sema/multistep-explicit-cast.c
  test/SemaCXX/multistep-explicit-cast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49508.156465.patch
Type: text/x-patch
Size: 18055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180720/02713dcf/attachment-0001.bin>


More information about the cfe-commits mailing list