Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/test/AST/Interp/literals.cpp | ||
|---|---|---|
| 76 | Some more tests covering ~INT_MIN == INT_MAX and vice versa and unscoped enum case as well e.g. enum E {};
E e = static_cast<E>(0);
static_assert(~e == -1, ""); | |
Can we name this one complement instead of not -- when I hear not I think ! and not ~.