[PATCH] D137020: [clang][AST] Handle variable declaration with unknown typedef in C

Dilshod Urazov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 01:49:21 PST 2022


urazoff updated this revision to Diff 475370.
urazoff added a comment.

Added test to show the advantage in AST dump.
Missing keywords are added in 'IsUnknownTypedefName', the function is static now.
'DisambiguatingWithExpression' check is added to narrow down the effect of the changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137020/new/

https://reviews.llvm.org/D137020

Files:
  clang/lib/Parse/ParseDecl.cpp
  clang/test/AST/ast-dump-recovery.c
  clang/test/Driver/types.c
  clang/test/Parser/CompoundStmtScope.c
  clang/test/Parser/opencl-atomics-cl20.cl
  clang/test/Parser/recovery.c
  clang/test/SemaOpenCL/intel-subgroup-avc-ext-types.cl
  clang/test/SemaOpenCL/invalid-device-enqueue-types-cl3.0.cl
  clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137020.475370.patch
Type: text/x-patch
Size: 12086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221115/bee88262/attachment.bin>


More information about the cfe-commits mailing list