hliao marked an inline comment as done.
hliao added inline comments.

================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:7851
+         (isa<VarDecl>(D) &&
+          (D->hasAttr<CUDADeviceAttr>() || D->hasAttr<CUDAConstantAttr>()));
 }
----------------
yaxunl wrote:
> is format right?
yeah, it's the format after clang-format. It seems that clang-format try to 
apply the same indent for LHS & RHS of a binary operator. With the leading 
parenthesis, RHS in a newline is indented with one more space.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61194



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

Reply via email to