]> granicus.if.org Git - clang/commit
Reword -Winternal-linkage-in-inline, and rename it to -Wstatic-in-inline.
authorJordan Rose <jordan_rose@apple.com>
Wed, 20 Jun 2012 21:09:10 +0000 (21:09 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 20 Jun 2012 21:09:10 +0000 (21:09 +0000)
commit07c877de7bbd1e0f04c34414dff0dcd7a124f2c7
treeee4d6d738c0a11db6c9f349d890b4c355d947280
parent12a4ced3dc30adcf2e1532c6323d517e9949a61e
Reword -Winternal-linkage-in-inline, and rename it to -Wstatic-in-inline.

Now that this is a C-only warning, we can use "static" instead of "internal
linkage", which is a term developers are probably more familiar with.
This makes for a better warning message. The warning name was changed to match,
since "internal linkage" is not mentioned in the warning text anymore.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158853 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
test/Sema/inline.c