From 38267349ee0b9cee9e00398ede647f60841b49ff Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 22 Apr 2015 03:44:51 +0000 Subject: Wrap to 80 columns, fix typo in comment. No behavior change. llvm-svn: 235470 --- clang/lib/Sema/SemaDecl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'clang/lib/Sema/SemaDecl.cpp') diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index f6cb2829cf5..5bb39cbf147 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -5229,11 +5229,12 @@ static void checkAttributesAfterMerging(Sema &S, NamedDecl &ND) { } } - // 'selectany' only applies to externally visible varable declarations. + // 'selectany' only applies to externally visible variable declarations. // It does not apply to functions. if (SelectAnyAttr *Attr = ND.getAttr()) { if (isa(ND) || !ND.isExternallyVisible()) { - S.Diag(Attr->getLocation(), diag::err_attribute_selectany_non_extern_data); + S.Diag(Attr->getLocation(), + diag::err_attribute_selectany_non_extern_data); ND.dropAttr(); } } -- cgit v1.2.3