================
Comment at: lib/Sema/SemaAccess.cpp:1487
@@ +1486,3 @@
+  if (FunctionDecl *FN = dyn_cast<FunctionDecl>(D)) {
+    if (!DC->isFunctionOrMethod()) DC = FN;
+  } else if (TemplateDecl *TD = dyn_cast<TemplateDecl>(D)) {
----------------
While you're fixing style, you can probably bump the `DC = FN` statement onto 
the next line, as is more common.


http://llvm-reviews.chandlerc.com/D696
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to