MyDeveloperDay added a comment.

This will fail in the presence of macro line concatination

  if (x)
          return true;
  else
          return false;
  
  #define RETURN(x) \
  if (x) \
      return true;\
  else \
       return false;

it will remove the trailing \

  if (x) {
    return true;
  } else {
    return false;
  }
  
  #define RETURN(x)                                                             
 \
    if (x) {                                                                    
 \
      return true;
  }
  else {
    return false;
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95168

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to