llvm-project/clang/include
Richard Smith 405e2dbf37 Implement C++ [basic.link]p8.
If a function or variable has a type with no linkage (and is not extern "C"),
any use of it requires a definition within the same translation unit; the idea
is that it is not possible to define the entity elsewhere, so any such use is
necessarily an error.

There is an exception, though: some types formally have no linkage but
nonetheless can be referenced from other translation units (for example, this
happens to anonymous structures defined within inline functions). For entities
with those types, we suppress the diagnostic except under -pedantic.

llvm-svn: 313729
2017-09-20 07:22:00 +00:00
..
clang Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
clang-c libclang: expose `clang_getCursorTLSKind` 2017-09-13 02:15:09 +00:00
CMakeLists.txt