[PATCH] D134461: [Clang] Diagnose an error when trying to deferencing void pointers in C
    Erich Keane via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Sep 22 11:37:01 PDT 2022
    
    
  
erichkeane added inline comments.
================
Comment at: clang/include/clang/Parse/Parser.h:1792
+                                 bool *NotPrimaryExpression = nullptr,
+                                 bool IsAfterAmp = false);
   ExprResult ParseCastExpression(CastParseKind ParseKind,
----------------
So I thought 'isAddressOfOperand' might be good enough for this, is this not the case?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134461/new/
https://reviews.llvm.org/D134461
    
    
More information about the cfe-commits
mailing list