User Details
User Details
- User Since
- Oct 29 2022, 3:52 AM (13 w, 3 d)
Dec 18 2022
Dec 18 2022
urazoff added a comment to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
@sammccall @aaron.ballman I am thinking about another solution with tentative parsing as implemented for C++ in Parser::isCXXSimpleDeclaration (which is eventually called from isDeclarationStatement()). This approach works well for C++. So I want to update this patch with this approach.
Dec 14 2022
Dec 14 2022
urazoff added inline comments to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Dec 4 2022
Dec 4 2022
urazoff added inline comments to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Nov 29 2022
Nov 29 2022
urazoff updated the diff for D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Reasoning about invalid code is made now in specific parsing path not in general decision-making method.
urazoff added inline comments to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Nov 20 2022
Nov 20 2022
urazoff updated the diff for D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
- Added test for AST dump of invalid C code
- Added testcase for diagnostics
- Some minor fixes
Nov 15 2022
Nov 15 2022
urazoff updated the diff for D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
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.
Nov 8 2022
Nov 8 2022
urazoff added inline comments to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Nov 7 2022
Nov 7 2022
urazoff added inline comments to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
Oct 29 2022
Oct 29 2022
urazoff added a comment to D137020: [clang][AST] Handle variable declaration with unknown typedef in C.
https://github.com/llvm/llvm-project/issues/58355 corresponding github issue with current clang behavior.
urazoff requested review of D137020: [clang][AST] Handle variable declaration with unknown typedef in C.