[PATCH] D132286: [clang][Interp] Implement function calls

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 21 22:00:29 PDT 2022


shafik added inline comments.


================
Comment at: clang/test/AST/Interp/functions.cpp:38
+static_assert(add_second(10, 3, true) == 13, "");
+static_assert(add_second(300, -20, false) == 300, "");
----------------
I would expect a lot more test cases: trailing return types, default arguments, overloads etc...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132286



More information about the cfe-commits mailing list