ken-matsui added inline comments.
================
Comment at: clang/test/Preprocessor/suggest-typoed-directive.c:36
+// elfidef: c2x-cpp2b-warning@-12 {{invalid preprocessing directive, did you
mean '#elifdef'?}}
+// elfindef: c2x-cpp2b-warning@-12 {{invalid preprocessing directive, did you
mean '#elifdef'?}}
+// elfinndef: c2x-cpp2b-warning@-12 {{invalid preprocessing directive, did you
mean '#elifndef'?}}
----------------
Here, `#elfindef` is suggested to `#elifdef`, not `#elifndef`, but I believe it
will help many users to realize that they have typo'd `#elifndef`, or maybe
they might have meant actually `#elifdef`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124726/new/
https://reviews.llvm.org/D124726
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits