Fix typo. Thanks to dgregor for noticing it.

llvm-svn: 171521
This commit is contained in:
Rafael Espindola 2013-01-04 20:41:40 +00:00
parent bae14cef80
commit 66748e93e2

View File

@ -1180,7 +1180,7 @@ SourceRange VarDecl::getSourceRange() const {
template<typename decl_type>
static bool hasCLanguageLinkageTemplate(const decl_type &D) {
// Language linkage is a C++ concept, but saying that everything in C has
// C language linkage fits the implementation nicelly.
// C language linkage fits the implementation nicely.
ASTContext &Context = D.getASTContext();
if (!Context.getLangOpts().CPlusPlus)
return true;