]> granicus.if.org Git - clang/commit
[NFC] Modernize MacroArgs using TrailingObjects
authorFaisal Vali <faisalv@yahoo.com>
Thu, 28 Sep 2017 01:50:23 +0000 (01:50 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Thu, 28 Sep 2017 01:50:23 +0000 (01:50 +0000)
commit35b54a9ed7493be94a126f1152caf86ff388d36a
tree1d59556f874cb4302841427f9d3e1e3212fe3ad0
parent36c5bf71e4988db2b6d67160293e0bc029bb5737
[NFC] Modernize MacroArgs using TrailingObjects

Refactor MacroArgs to use TrailingObjects when creating a variably sized object on the heap to store the unexpanded tokens immediately after the MacroArgs object.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314372 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/MacroArgs.h
lib/Lex/MacroArgs.cpp