]> granicus.if.org Git - clang/commit
Diagnose erroneous uses of out-of-line member definitions and scope
authorDouglas Gregor <dgregor@apple.com>
Mon, 15 Dec 2008 23:53:10 +0000 (23:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 15 Dec 2008 23:53:10 +0000 (23:53 +0000)
commit584049d49d956add7bce5669e9823491f7d8de78
tree99066aa31417bc3481e7216db2dc8b21325e74a0
parent03f332a8f4300bbaa91240f461923e7874892dd3
Diagnose erroneous uses of out-of-line member definitions and scope
specifiers. Specifically:
  * Determine when an out-of-line function definition does not match
    any declaration within the class or namespace (including coping
    with overloaded functions).
  * Complain about typedefs and parameters that have scope specifiers.
  * Complain about out-of-line declarations that aren't also
  definitions.
  * Complain about non-static data members being declared out-of-line.
  * Allow cv-qualifiers on out-of-line member function definitions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61058 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/SemaCXX/nested-name-spec.cpp