[all-commits] [llvm/llvm-project] 153dad: [clang] CodeGen: Make getOrEmitProtocol public for...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Wed Apr 1 08:59:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 153dadf3a3ca3c47f8c0fb718ec96616a05e42fd
      https://github.com/llvm/llvm-project/commit/153dadf3a3ca3c47f8c0fb718ec96616a05e42fd
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CGObjCMac.cpp
    M clang/lib/CodeGen/CGObjCRuntime.cpp
    M clang/lib/CodeGen/CGObjCRuntime.h

  Log Message:
  -----------
  [clang] CodeGen: Make getOrEmitProtocol public for Swift

Summary:
Swift would like to use clang's apis to emit protocol declarations.

This commits adds the public API:

```
 emitObjCProtocolObject(CodeGenModule &CGM, const ObjCProtocolDecl *p);
```

rdar://60888524

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77077




More information about the All-commits mailing list