]> granicus.if.org Git - clang/commit
[OpenBSD] Add type sign information for OpenBSD
authorRenato Golin <renato.golin@linaro.org>
Thu, 22 Sep 2016 19:28:20 +0000 (19:28 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 22 Sep 2016 19:28:20 +0000 (19:28 +0000)
commit08176f5867e498d8fbff4e44d6ef521988d9717e
treecb5039cb304ff07e37cf8cd72b3fc6c00b42f55c
parent2f1019880e3fca33b8c7ac8f8bd272e546d930ac
[OpenBSD] Add type sign information for OpenBSD

Like NetBSD, OpenBSD prefers having a consistent set of typedefs
across the architectures it supports over strictly following the ARM
ABIs.  The diff below makes sure that clang's view of those types
matches OpenBSD's system header files.  It also adds a test that
checks the relevant types on all OpenBSD platforms that clang works
on.  Hopefully we can add mips64 and powerpc to that list in the
future.

Patch by Mark Kettenis <mark.kettenis@xs4all.nl>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282184 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/init.c