[all-commits] [llvm/llvm-project] cc1c51: Use realloc for NestedNameSpecifierLocBuilder
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Sat May 2 08:13:04 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cc1c51655854627c126daf9ead4c701616564bde
https://github.com/llvm/llvm-project/commit/cc1c51655854627c126daf9ead4c701616564bde
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2020-05-02 (Sat, 02 May 2020)
Changed paths:
M clang/lib/AST/NestedNameSpecifier.cpp
Log Message:
-----------
Use realloc for NestedNameSpecifierLocBuilder
These allocations are so tiny that the buffer can be grown in-place most
of the time.
More information about the All-commits
mailing list