[PATCH] D136633: [clang][AST] avoid unnecessary FunctionProtoTypes.FindNodeOrInsertPos call

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 10:00:57 PDT 2022


bruno added a comment.

Nice catch, thanks for improving this.

Any chance you've got any small enough example that trigger this that could be transformed into a testcase? It would be nice to have a unittest for this, see others in `clang/unittests/AST`.

Nitpick: please capitalize `avoid` in the title.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136633/new/

https://reviews.llvm.org/D136633



More information about the cfe-commits mailing list