]> granicus.if.org Git - clang/commit
merge hasCLanguageLinkage and isExternC. Keep the shorter name.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 14 Feb 2013 01:47:04 +0000 (01:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 14 Feb 2013 01:47:04 +0000 (01:47 +0000)
commitd2fdd4256a2efc41365ccdd27a210d1d99a1fe3a
tree806a23fc44c70cd99e6316463c8e25362d3abdbd
parent950fee2555f7a6bd193e588d6b6a941fd182391a
merge hasCLanguageLinkage and isExternC. Keep the shorter name.

I added hasCLanguageLinkage while fixing some language linkage bugs some
time ago so that I wouldn't have to check all users of isExternC. It turned
out to be a much longer detour than expected, but this patch finally
merges the two again. The isExternC function now implements just the
standard notion of having C language linkage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175119 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/Decl.cpp
lib/AST/ItaniumMangle.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/linkage2.cpp