diff options
author | Steve Naroff <snaroff@apple.com> | 2009-11-09 17:45:52 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-11-09 17:45:52 +0000 |
commit | 8675d5c754d88f4defae9c6b97cfe626fdb745a8 (patch) | |
tree | 6d7d0dc41ba5a546baaabf0b03c0ecc307cdccf2 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | 69999d9c237bae3573dd6e147d1c7bb464a693c5 (diff) | |
download | llvm-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