Go to file
Akira Hatanaka f3c89b1a6b [ObjC] Fix encoding of ObjC pointer types that are pointers to typedefs
clang was encoding pointers to typedefs as if they were pointers to
structs because that is apparently what gcc is doing.

For example:

```
@class Class1;

typedef NSArray<Class1 *> MyArray;

void foo1(void) {
  const char *s0 = @encode(MyArray *); // "^{NSArray=#}"
  const char *s1 = @encode(NSArray<Class1 *> *); // "@"
}
```

This commit removes the code that was there to make clang compatible
with gcc and make clang emit the correct encoding for ObjC pointers,
which is "@".

rdar://problem/50563529

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

llvm-svn: 362034
2019-05-29 21:23:30 +00:00
clang [ObjC] Fix encoding of ObjC pointer types that are pointers to typedefs 2019-05-29 21:23:30 +00:00
clang-tools-extra [Index] Compute correct symbol kind for variable templates 2019-05-29 17:49:30 +00:00
compiler-rt mac: Make ubsan test config look more like asan test config 2019-05-29 18:54:28 +00:00
debuginfo-tests Add debuginfo-tests that use cdb on Windows 2019-05-28 23:03:33 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx [NFC][libcxx] Remove trailing whitespace 2019-05-29 16:01:36 +00:00
libcxxabi Update private_typeinfo's `is_equal` implementation after r361913 2019-05-29 02:33:11 +00:00
libunwind [libunwind] [test] Fix inferring source paths 2019-05-29 07:20:30 +00:00
lld [WebAssembly] Move direct call tracking from member to local. NFC. 2019-05-29 15:41:08 +00:00
lldb Fix Xcode project lldb unit test target so it compiles. 2019-05-29 21:22:54 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm LoopVersioningLICM: Respect convergent and noduplicate 2019-05-29 20:47:59 +00:00
openmp [openmp] [test] Skip kernel-breaking tests on NetBSD 2019-05-28 14:10:47 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [ScopBuilder] Move buildInvariantEquivalenceClasses function from ScopInfo. NFC. 2019-05-28 23:47:55 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.