[NFC, Refactor] Modernize TemplateIdAnnotation using TrailingObjects
authorFaisal Vali <faisalv@yahoo.com>
Tue, 23 May 2017 01:07:12 +0000 (01:07 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Tue, 23 May 2017 01:07:12 +0000 (01:07 +0000)
commit43caf6785f5bdafa11de2dbc520f2eb859282506
tree0b8aad1123d4460326c0da509e057855ad41e850
parentacf4b09fee3e9fe41237369259170a7f682d26b6
[NFC, Refactor] Modernize TemplateIdAnnotation using TrailingObjects

A refactoring of TemplateIdAnnotation that uses TrailingObjects to create a variably-sized object on the heap.

https://reviews.llvm.org/D31414

Thanks to Aaron B for the review!

llvm-svn: 303594
clang/include/clang/Basic/TemplateKinds.h
clang/include/clang/Sema/ParsedTemplate.h
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Parse/ParseTemplate.cpp