summaryrefslogtreecommitdiffstats
path: root/clang/test/Rewriter/rewrite-byref-vars.mm
Commit message (Collapse)AuthorAgeFilesLines
* Specify -std=gnu++98 on some Rewriter tests. NFC.Paul Robinson2016-12-091-1/+1
| | | | | | | | | Rewriter tests rewrite Objective-C++ to C++, and then compile the result. The rewritten result sometimes doesn't work with C++11. As we want to allow Clang's default dialect to become C++11, we need to make sure the tests will still pass. llvm-svn: 289167
* Restructure how the driver communicates information about theJohn McCall2012-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | target Objective-C runtime down to the frontend: break this down into a single target runtime kind and version, and compute all the relevant information from that. This makes it relatively painless to add support for new runtimes to the compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z, available at the driver level as a better and more general alternative to -fgnu-runtime and -fnext-runtime. This new concept of an Objective-C runtime also encompasses what we were previously separating out as the "Objective-C ABI", so fragile vs. non-fragile runtimes are now really modelled as different kinds of runtime, paving the way for better overall differentiation. As a sort of special case, continue to accept the -cc1 flag -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak. I won't go so far as to say "no functionality change", even ignoring the new driver flag, but subtle changes in driver semantics are almost certainly not intended. llvm-svn: 158793
* Also, these objc++ rewriter tests are meant to run in NeXt'sFariborz Jahanian2012-02-041-2/+2
| | | | | | fragile-abi mode. llvm-svn: 149788
* Change test to compile rewritten test with clang++.Fariborz Jahanian2010-03-041-1/+2
| | | | llvm-svn: 97756
* Fixes rewriter bug rewriting byref related API where a structFariborz Jahanian2010-01-291-0/+10
| | | | | | definition comes after where it is needed. Fixes radar 7589385. llvm-svn: 94788
* Fix a rewriting crash and correct rewriting of __blockFariborz Jahanian2010-01-161-0/+11
| | | | | | declaration where its initializer has a type-cast. llvm-svn: 93650
* Patch to avoid duplicate declaration of byref structsFariborz Jahanian2010-01-141-0/+35
for __block variables of same name declared in multiple scopes. Fixes radar 7540194 llvm-svn: 93474
OpenPOWER on IntegriCloud