aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-11-16 08:15:38 +0000
committerTed Kremenek <kremenek@apple.com>2010-11-16 08:15:38 +0000
commitf019943eda4896c1bbe584b4b0439bf6cbff62a9 (patch)
treef1045e3b472a0b35d2a1524f5c78b4bfba6f6d66 /lib/Sema/SemaChecking.cpp
parenta60ed47da13393796d8552b9fdca12abbb3eea42 (diff)
Rework USR generation from CXCursors to use CXStringBufs
for the backing of generated USRs. This optmizes for the case when a client generates a sequence of USRs in sequence, disposing of them soon after generating them. By using a string buffer, we recycle malloc'ed memory instead of constantly malloc'ing and copying strings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions