summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* This patch breaks up Wrap.h so that it does not have to include all of Filip Pizlo2013-05-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | the things, and renames it to CBindingWrapping.h. I also moved CBindingWrapping.h into Support/. This new file just contains the macros for defining different wrap/unwrap methods. The calls to those macros, as well as any custom wrap/unwrap definitions (like for array of Values for example), are put into corresponding C++ headers. Doing this required some #include surgery, since some .cpp files relied on the fact that including Wrap.h implicitly caused the inclusion of a bunch of other things. This also now means that the C++ headers will include their corresponding C API headers; for example Value.h must include llvm-c/Core.h. I think this is harmless, since the C API headers contain just external function declarations and some C types, so I don't believe there should be any nasty dependency issues here. llvm-svn: 180881
* Move C++ code out of the C headers and into either C++ headersEric Christopher2013-04-221-0/+1
| | | | | | | or the C++ files themselves. This enables people to use just a C compiler to interoperate with LLVM. llvm-svn: 180063
* [objc-arc] Added descriptions for EnableARCAnnotations, ↵Michael Gottesman2013-04-171-0/+1
| | | | | | EnableCheckForCFGHazards, EnableARCOptimizations. llvm-svn: 179718
* Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C ↵Benjamin Kramer2013-02-151-0/+1
| | | | | | linkage. llvm-svn: 175264
* Fixed some whitespace/80+ violations. Also added a space after a namespace ↵Michael Gottesman2013-01-291-1/+1
| | | | | | declaration. llvm-svn: 173772
* Cleaned up includes in various ObjCARC files and removed some whitespace ↵Michael Gottesman2013-01-281-6/+5
| | | | | | violations. llvm-svn: 173663
* Fixed case insensitive issue.Michael Gottesman2013-01-281-1/+1
| | | | llvm-svn: 173653
* Extracted pass ObjCARCExpand from ObjCARC.cpp => ObjCARCExpand.cpp.Michael Gottesman2013-01-281-1/+11
| | | | | | | I also added the local header ObjCARC.h for common functions used by the various passes. llvm-svn: 173651
* Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation ↵Michael Gottesman2013-01-281-0/+38
for refactoring the ARC Optimizer. llvm-svn: 173647
OpenPOWER on IntegriCloud