]> granicus.if.org Git - clang/commit
Simplify memory management in NestedNameSpecifierLocBuilder.
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 16 Jul 2014 18:18:13 +0000 (18:18 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Wed, 16 Jul 2014 18:18:13 +0000 (18:18 +0000)
commit6ce57c7e38ed5a644266b830d359a3c813bc15c4
tree174a6a1692db3247134ddfb3f50b065860b036e4
parentc308e86ed23100b07027574f8d7c47af77f6ee9f
Simplify memory management in NestedNameSpecifierLocBuilder.

With this change the memory of buffer in NestedNameSpecifierLocBuilder
is allocated in one place. It also prevents from allocation of tiny blocks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213178 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/NestedNameSpecifier.cpp