summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/BreakableToken.h
diff options
context:
space:
mode:
authorAriel J. Bernal <ariel.j.bernal@intel.com>2013-05-27 14:30:23 +0000
committerAriel J. Bernal <ariel.j.bernal@intel.com>2013-05-27 14:30:23 +0000
commit1d66e366e96d9622bfdbc9a78383033e89a808b4 (patch)
tree9b824706f102e8c9fcdb575c48a2a22442bdf9c9 /clang/lib/Format/BreakableToken.h
parentb97e89691d359457a5f25add6dc79229703c8296 (diff)
downloadbcm5719-llvm-1d66e366e96d9622bfdbc9a78383033e89a808b4.tar.gz
bcm5719-llvm-1d66e366e96d9622bfdbc9a78383033e89a808b4.zip
Fix UseAuto replacing declaration lists with new expressions
UseAuto used to replace declarion lists with new expressons where some variable were not initialized with new. This fix checks that every DeclStmt has a VarDecl with an initializer and it also ensures that all declarations have the same type. Added tests for multiple declarations and for typedefs. llvm-svn: 182736
Diffstat (limited to 'clang/lib/Format/BreakableToken.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud