Skip to content

Commit 7210136

Browse files
committed
Make it clearer that <=> will always be stringified
clang++-6.0 warns that in the next C++ standard <=> will be an operator and therefore an atomic lexical token. I think that's overly zealous, but it's easily worked around by explicitly quoting the name, which will be stringified before use in any case. See diffblue#1974 for more details, or https://bugs.llvm.org/show_bug.cgi?id=36925 for an upstream bug report.
1 parent 560f82b commit 7210136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/irep_ids.def

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ IREP_ID_ONE(member_name)
4141
IREP_ID_TWO(C_member_name, #member_name)
4242
IREP_ID_TWO(equal, =)
4343
IREP_ID_TWO(implies, =>)
44-
IREP_ID_TWO(iff, <=>)
44+
IREP_ID_TWO(iff, "<=>")
4545
IREP_ID_ONE(and)
4646
IREP_ID_ONE(nand)
4747
IREP_ID_ONE(or)

0 commit comments

Comments
 (0)