[PATCH] D57238: [AST][NFC] Various cleanups to GenericSelectionExpr

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 25 06:24:57 PST 2019


riccibruno created this revision.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.

Various cleanups to GenericSelectionExpr, factored out of D57104 <https://reviews.llvm.org/D57104>. In particular:

1. Move the friend declaration to the top.
2. Introduce a constant `ResultDependentIndex` instead of the magic "-1".
3. clang-format
4. Group the member function together so that they can be removed as one block by D57106 <https://reviews.llvm.org/D57106>.

NFC.


Repository:
  rC Clang

https://reviews.llvm.org/D57238

Files:
  include/clang/AST/Expr.h
  lib/AST/Expr.cpp
  lib/Serialization/ASTReaderStmt.cpp
  lib/Serialization/ASTWriterStmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57238.183530.patch
Type: text/x-patch
Size: 15413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190125/68bc65af/attachment-0001.bin>


More information about the cfe-commits mailing list