bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: lib/Sema/SemaExpr.cpp:11523
     // being assigned to.
     if (Opc == BO_Assign && pty->getKind() == BuiltinType::Overload) {
+      if (getLangOpts().CPlusPlus &&
----------------
Looks like you can fold both conditions below into one and check 
`getLangOpts().CPlusPlus` only once


Repository:
  rL LLVM

https://reviews.llvm.org/D25213



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

Reply via email to