[all-commits] [llvm/llvm-project] a06f00: [clang][NFC] Remove two hard-coded lists of ArrayT...

Bruno Ricci via All-commits all-commits at lists.llvm.org
Thu Jun 11 12:28:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a06f000326e3362ffb5634957447dd434abab0f9
      https://github.com/llvm/llvm-project/commit/a06f000326e3362ffb5634957447dd434abab0f9
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M clang/lib/Parse/ParseExprCXX.cpp

  Log Message:
  -----------
  [clang][NFC] Remove two hard-coded lists of ArrayTypeTrait and ExpressionTrait

These two were missed in 78e636b3f2f0b0487130b31fade4f95ab179a18c.


  Commit: efb0413a5cf9b1481c9b6169c8685f8d71f6de84
      https://github.com/llvm/llvm-project/commit/efb0413a5cf9b1481c9b6169c8685f8d71f6de84
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/ExprCXX.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprCXX.cpp

  Log Message:
  -----------
  [clang][NFC] Assert that the enumerator value of {Type,ArrayType,UnaryExprOrType,Expression}Traits

is valid and does not overflow in the bit-field for its storage in more places.
This is a follow-up to 78e636b3f2f0b0487130b31fade4f95ab179a18c. NFC.


  Commit: a9250c281a875d91fb5dd1c8f4ad8ee4ff61b75d
      https://github.com/llvm/llvm-project/commit/a9250c281a875d91fb5dd1c8f4ad8ee4ff61b75d
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    A clang/test/AST/ast-dump-traits.cpp

  Log Message:
  -----------
  [clang] TextNodeDumper: Dump the trait spelling of {Type,ArrayType,Expression}TraitExpr

nodes using the new helper functions introduced
in 78e636b3f2f0b0487130b31fade4f95ab179a18c.


Compare: https://github.com/llvm/llvm-project/compare/118c13c691a5...a9250c281a87


More information about the All-commits mailing list