aaron.ballman added a comment.

I found a few nits, but generally think this LG. However, I think @rsmith 
should sign off on it just in case I've misinterpreted something along the way.



================
Comment at: lib/Sema/SemaDecl.cpp:16537
+    //   instead would cause us to miss using-declarations.
+    // - it behaves as no declaration was found when the lookup result
+    //   is not LookupResult::Found. This would cause us to miss
----------------
behaves as no -> behaves as if no


================
Comment at: lib/Sema/SemaDecl.cpp:16551
 
+    llvm_unreachable("Unexpected LookupResultKind");
+  }
----------------
Missing a `default` label in front of this?


================
Comment at: lib/Sema/SemaDecl.cpp:16599
+      } else {
+
+        if (isa<EnumConstantDecl>(PrevDecl))
----------------
Spurious newline


================
Comment at: lib/Sema/SemaDecl.cpp:16602
+          Diag(IdLoc, diag::err_redefinition_of_enumerator) << Id;
+
+        else
----------------
Spurious newline


Repository:
  rC Clang

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

https://reviews.llvm.org/D60956



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

Reply via email to