diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-12-14 23:27:53 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-12-14 23:27:53 +0000 |
| commit | a2b514a3f2f6a9eeffbaf8d23351726ab11e8d96 (patch) | |
| tree | c866c2fc4d8f86e4b25c5747128a16ae4b181249 /clang | |
| parent | a8aa30b620a8e45d9fd6961e2355ef0ec145046a (diff) | |
| download | bcm5719-llvm-a2b514a3f2f6a9eeffbaf8d23351726ab11e8d96.tar.gz bcm5719-llvm-a2b514a3f2f6a9eeffbaf8d23351726ab11e8d96.zip | |
Add more robustness - use PyString_CheckExact(pvalue) to check whether pvalue is a Python string before
calling PyString_AsString(pvalue). Similar to http://llvm.org/viewvc/llvm-project?rev=146584&view=rev.
llvm-svn: 146606
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions

