[all-commits] [llvm/llvm-project] 6d0f83: [clang][AST] TextNodeDumper: dump the operator spe...

Bruno Ricci via All-commits all-commits at lists.llvm.org
Tue Jun 9 07:40:16 PDT 2020


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

  Changed paths:
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    A clang/test/AST/ast-dump-overloaded-operators.cpp
    M clang/test/Import/call-expr/test.cpp

  Log Message:
  -----------
  [clang][AST] TextNodeDumper: dump the operator spelling for overloaded operators.

This mirrors what is done for built-in operators.


  Commit: 8dcc7eecb75b39d723fd6fee566369bf67e43fdf
      https://github.com/llvm/llvm-project/commit/8dcc7eecb75b39d723fd6fee566369bf67e43fdf
  Author: Bruno Ricci <riccibrun at gmail.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/Stmt.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [clang][AST] Widen TypeTraitExprBitfields.NumArgs to 16 bits.

`32 - 8 - 1 - NumExprBits` is now only equal to 6, which is way too small.
Add a test so that this does not happen again.


Compare: https://github.com/llvm/llvm-project/compare/21d747184aff...8dcc7eecb75b


More information about the All-commits mailing list