]> granicus.if.org Git - clang/commit
Provide an error when a non-identifier name (such as an operator) is used as a
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 3 Nov 2010 01:07:06 +0000 (01:07 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 3 Nov 2010 01:07:06 +0000 (01:07 +0000)
commit7533a5b65f81a4eed1e0f0afeb859e26bc0c056b
treec9bca3e7c8d3d3aa94dcc3d3c8aaaa7f5e33b2c4
parent40749ee585abc84fbb3c8fdbd8aaac062f153062
Provide an error when a non-identifier name (such as an operator) is used as a
parameter name.

Fixes PR8012.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118138 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaCXX/PR8012.cpp [new file with mode: 0644]