aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-11-09 17:45:52 +0000
committerSteve Naroff <snaroff@apple.com>2009-11-09 17:45:52 +0000
commit8675d5c754d88f4defae9c6b97cfe626fdb745a8 (patch)
tree6d7d0dc41ba5a546baaabf0b03c0ecc307cdccf2 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
parent69999d9c237bae3573dd6e147d1c7bb464a693c5 (diff)
downloadllvm-8675d5c754d88f4defae9c6b97cfe626fdb745a8.zip
llvm-8675d5c754d88f4defae9c6b97cfe626fdb745a8.tar.gz
llvm-8675d5c754d88f4defae9c6b97cfe626fdb745a8.tar.bz2
Introduce CXString type and associated functions clang_getCString() and clang_disposeString().
This abstraction will help us manage string memory for complex names that cross the C++/C boundary (e.g. ObjC methods, selectors). This patch also uses it in clang_getTranslationUnitSpelling (which I'm not sure is necessary). Will investigate later...since the extra malloc() can't hurt (for now). Patch by John Thompson. llvm-svn: 86562
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions