[PATCH] D66148: [SemanticTypedef] Provide a semantic typedef class and operators

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 11:01:05 PDT 2019


mehdi_amini added inline comments.


================
Comment at: llvm/include/llvm/ADT/SemanticTypedef.h:27
+/// cumbersome and error-prone.  The semantic typedef utilites here make this at
+/// least a little bit easier.
+///
----------------
The problem exposed above is compelling, but I have hard time connecting the explanation that follows to the problem statement. Can you provide the final solution for expressing the original API `void foo(bool Feature1, bool Feature2);` and how it compares to an `enum class`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66148





More information about the llvm-commits mailing list