summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/format-attribute.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
commit4ff4654893dc48a5b906fb1c0fd36208a0052f60 (patch)
treed50189e2c6f5d25d8126dba90844302d4a4f7d7b /clang/test/SemaCXX/format-attribute.cpp
parent915542850b7bd6d8b9e3ff6535f38ce8f73bb8dd (diff)
downloadbcm5719-llvm-4ff4654893dc48a5b906fb1c0fd36208a0052f60.tar.gz
bcm5719-llvm-4ff4654893dc48a5b906fb1c0fd36208a0052f60.zip
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. llvm-svn: 119338
Diffstat (limited to 'clang/test/SemaCXX/format-attribute.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud