[llvm-dev] TableGen boolean literals: opinions, please

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 21 23:30:36 PDT 2020


I agree that uppercase TRUE and FALSE seems odd. I will do a more thorough search and see if lowercase true and false are available without too much fuss.

At 10/21/2020 10:10 PM, Thomas Lively wrote:
>Even given the option to use TRUE and FALSE, I think I would prefer to continue using 1 and 0 for stylistic reasons. Most of the TableGen I work with is snake_case or CamelCase, so all-caps TRUE and FALSE would look out of place. If we could use lower case `true` and `false`, I would use those.



More information about the llvm-dev mailing list