[PATCH] D124534: [clang] Add a diagnostic for line directive of a gnu extension
Ken Matsui via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 7 01:04:36 PDT 2022
ken-matsui added a comment.
@aaron.ballman
Thank you for your review and sorry to have missed those directives!
I also found additional directives that I might have to diagnose.
Could you please tell me if these are also required?
================
Comment at: clang/test/Preprocessor/line-directive.c:67-77
#line 42 "blonk.h" // doesn't change system headerness.
typedef int z; // ok
typedef int z; // ok
# 97 // doesn't change system headerness.
----------------
Should these directives also be diagnosed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124534/new/
https://reviews.llvm.org/D124534
More information about the cfe-commits
mailing list