summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-03-17 20:04:04 +0000
committerZachary Turner <zturner@google.com>2015-03-17 20:04:04 +0000
commit0641ca1a2dc2d4923ee702651aab2a9704d563b5 (patch)
tree702d70f8895c939cf047fbd1d31f9909faa4d85a /clang/lib/CodeGen/CodeGenModule.h
parentc888dd0cb8b6cc3f1f33674189aea59d0938f2b4 (diff)
downloadbcm5719-llvm-0641ca1a2dc2d4923ee702651aab2a9704d563b5.tar.gz
bcm5719-llvm-0641ca1a2dc2d4923ee702651aab2a9704d563b5.zip
Remove ScriptInterpreterObject.
This removes ScriptInterpreterObject from the codebase completely. Places that used to rely on ScriptInterpreterObject now use StructuredData::Object and its derived classes. To support this, a new type of StructuredData object is introduced, called StructuredData::Generic, which stores a void*. Internally within the python library, StructuredPythonObject subclasses this StructuredData::Generic class so that it can addref and decref the python object on construction and destruction. Additionally, all of the classes in PythonDataObjects.h such as PythonList, PythonDictionary, etc now provide a method to create an instance of the corresponding StructuredData type. For example, there is PythonDictionary::CreateStructuredDictionary. To eliminate dependencies on PythonDataObjects for external callers, all ScriptInterpreter methods now return only StructuredData classes The rest of the changes in this CL are focused on fixing up users of PythonDataObjects classes to use the new StructuredData classes. llvm-svn: 232534
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud