hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4925
+  if (RawTriple.isOSAIX())
+    if (Arg *A = Args.getLastArg(options::OPT_G)) {
+      D.Diag(diag::err_drv_unsupported_opt_for_target)
----------------
Either remove the braces here or add braces for the outer block.

Refer to the
```
// Use braces for the outer `if` since the nested `for` is braced.
```
example under 
https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89897

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

Reply via email to