]> granicus.if.org Git - clang/commit
Provide Fixit warning when 'auto' is intended as storage
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 22 Feb 2011 23:17:49 +0000 (23:17 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 22 Feb 2011 23:17:49 +0000 (23:17 +0000)
commit12e3ecec906f65580059a9d8555849a272c2db81
tree80ee9cef00c056398294b94fe75fe75bb54d298b
parent8178df3b39ab923ff5d24538812628abee33df79
Provide Fixit warning when 'auto' is intended as storage
specifier in legacy code. Patch is reviewed offline by Doug.
// rdar://9036633.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126261 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp
test/FixIt/auto-fixit.m [new file with mode: 0644]
test/SemaCXX/auto-cxx0x.cpp
test/SemaObjC/auto-objective-c.m