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)
commit9f81d6a4827c56b974529c0ccc6e675c277f6450
treebe95bc39f075bd3e242c72b5da765f77914ae7ae
parent62a8e0639b58900625feed6421a044af7dfa1e8c
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.

llvm-svn: 213178
clang/lib/AST/NestedNameSpecifier.cpp