summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PrintPreprocessedOutput.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 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parent69999d9c237bae3573dd6e147d1c7bb464a693c5 (diff)
downloadbcm5719-llvm-8675d5c754d88f4defae9c6b97cfe626fdb745a8.tar.gz
bcm5719-llvm-8675d5c754d88f4defae9c6b97cfe626fdb745a8.zip
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 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud