aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-06-21 18:57:30 +0000
committerEnrico Granata <egranata@apple.com>2013-06-21 18:57:30 +0000
commitc972c70e6097addb1255f602cdc4ae20a3e560d8 (patch)
tree450a6422415903296a08be1d33bd70e5ef456691 /clang/lib/Frontend/CompilerInvocation.cpp
parentb6e6cd356e3be97e4412cddeeaa71269a5919fca (diff)
downloadllvm-c972c70e6097addb1255f602cdc4ae20a3e560d8.zip
llvm-c972c70e6097addb1255f602cdc4ae20a3e560d8.tar.gz
llvm-c972c70e6097addb1255f602cdc4ae20a3e560d8.tar.bz2
Change the SWIG wrappers to stop directly casting SB object to SWIG objects, and instead use a safer type-checked API (thanks templates)
Any time a SWIG wrapper needs a PyObject for an SB object, it now should call into SBTypeToSWIGWrapper<SBType>(SBType*) If you try to use it on an SBType for which there is not an implementation yet, LLDB will fail to link - just add your specialization to python-swigsafecast.swig and rebuild This is the first step in simplifying our SWIG Wrapper layer llvm-svn: 184580
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions