History log of /seL4-camkes-master/projects/util_libs/libutils/include/utils/attribute.h
Revision Date Author Comments
# 446cedd2 07-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libutils: Add WEAK_ALIAS attribute macro


# d506ad5c 08-Jun-2017 Jonas Claeson <jonas.cl@protonmail.com>

Incorrect test of __clang__ in preprocessor directive

Align checks of the __clang__ flag so that it is tested in the same way
in all preprocessor directives. Setting __clang__ to 0 would result in
an unexpected result.


# a7130f9f 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

fix licenses


# 1e544878 01-Feb-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libutils: Document min and max constructor priorities


# 02dcb3d3 31-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libutils: Add constructor attribute


# a7b8939c 25-May-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: trivial: Replace ifdef guards with pragma once.


# be8286c7 22-Feb-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: Abstract 'hot' attribute.


# 420f2c96 22-Feb-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: Abstract 'cold' attribute.


# b267bc9d 19-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: fix: remove duplicated __has_attribute stub.


# 7a7c79d4 19-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: Provide a __has_feature stub for GCC.

As per previous commits, this is related to compatibility with Clang.


# e7ad4e25 19-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: Support for Clang in the ERROR macro.

`ERROR` is a wrapper around GCC's error attribute, but this feature does not
exist on Clang. Clang has an unavailable attribute with similar semantics, so
we map it to this.


# 2ab90cd8 19-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libutils: Provide a __has_extension stub for GCC.

This macro is provided by Clang to test for support of specific language
extensions. We can't use it on GCC, even when guarded by an "#ifdef __clang__"
because GCC tries to evaluate it. To get around this we define it to always
fail on GCC.


# d4d339e2 18-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

Add 'section' attribute abstraction.