{"shas":[["ee86ce0f4766f476bface54b4d0543eb83117a30","dc0c83763d96e040f193b50480a63873ecedb8fe@91177308-0d34-0410-b5e6-96231b3b80d8","Step #1/N of implementing support for __label__: split labels into\nLabelDecl and LabelStmt.  There is a 1-1 correspondence between the\ntwo, but this simplifies a bunch of code by itself.  This is because\nlabels are the only place where we previously had references to random\nother statements, causing grief for AST serialization and other stuff.\n\nThis does cause one regression (attr(unused) doesn't silence unused\nlabel warnings) which I'll address next.\n\nThis does fix some minor bugs:\n1. \"The only valid attribute \" diagnostic was capitalized.\n2. Various diagnostics printed as ''labelname'' instead of 'labelname'\n3. This reduces duplication of label checking between functions and blocks.\n\nReview appreciated, particularly for the cindex and template bits.\n\n\n\ngit-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@125733 91177308-0d34-0410-b5e6-96231b3b80d8","lattner"],["6e864689061c3a5fbf3fe668f34933b0f81b6670","20237f4b434bdcccb3b4c7b8643e049a656bb565@91177308-0d34-0410-b5e6-96231b3b80d8","Devirtualize Decl::getCanonicalDecl().\n\n\ngit-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@125735 91177308-0d34-0410-b5e6-96231b3b80d8","dgregor"],["02687ddf2c3ef9207a1877c63f2e53486e83721b","20237f4b434bdcccb3b4c7b8643e049a656bb565@91177308-0d34-0410-b5e6-96231b3b80d8","Devirtualize Decl::getSourceRange()\n\ngit-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@125736 91177308-0d34-0410-b5e6-96231b3b80d8","dgregor"],["718ac6778115bc17bc71088f4b86b09023154d88","20237f4b434bdcccb3b4c7b8643e049a656bb565@91177308-0d34-0410-b5e6-96231b3b80d8","Simple little optimization to Decl::getCanonicalDecl(), eliminating some heavyweight machinery and indirection that we don't need\n\ngit-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@125737 91177308-0d34-0410-b5e6-96231b3b80d8","dgregor"]],"repo":"larsr/clang","actor":"larsr","ref":"refs/heads/master","size":4,"head":"718ac6778115bc17bc71088f4b86b09023154d88","actor_gravatar":"bbe632633cce5ebc8415de53b346aef6","push_id":24971919}