aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/macros.h
Commit message (Expand)AuthorAgeFilesLines
* util: Add SATURATE macroAlyssa Rosenzweig2020-05-261-0/+3
* util: don't include p_defines.h and u_pointer.h from galliumMarek Olšák2020-03-271-0/+14
* util: Add unreachable() definition for clang compiler.Krzysztof Raszkowski2019-08-301-1/+1
* introduce c11_compat.h to provide C11 things in C99Eric Engestrom2019-08-041-0/+1
* tree-wide: replace MAYBE_UNUSED with ASSERTEDEric Engestrom2019-07-311-2/+19
* util/macros: rework DIV_ROUND_UP macroChristian Gmeiner2019-07-041-1/+1
* util: move BITFIELD macros to util/macros.hTimothy Arceri2019-02-081-0/+18
* Require Visual Studio 2015.Jose Fonseca2018-09-101-3/+1
* util/macros: Import ALIGN_POT from ralloc.cJason Ekstrand2018-07-021-0/+3
* util: Add EXPLICIT_CONVERSION macro.Francisco Jerez2018-02-241-0/+10
* util: remove redundant check for the __clang__ macroVlad Golovkin2018-02-061-1/+2
* util: fix NORETURN for msvc, add HAVE_FUNC_ATTRIBUTE_NORETURN to c99_compat.hRoland Scheidegger2018-01-121-4/+8
* util: Add a NORETURN macroJason Ekstrand2017-12-041-0/+6
* util: add new ASSERT_BITFIELD_SIZE() macro (v3)Brian Paul2017-11-161-0/+17
* util: use cannonical form of ARRAY_SIZEEmil Velikov2017-08-021-1/+1
* util: Make CLAMP turn NaN into MIN.Kenneth Graunke2017-07-181-2/+2
* util: move ALWAYS_INLINE macro to util/macro.hTimothy Arceri2017-05-091-0/+11
* mesa: removed redundant #elseGeorge Kyriazis2016-11-211-1/+0
* util: Fix Clang trivial destructor check.Vinson Lee2016-11-151-4/+4
* util: add MSVC HAS_TRIVIAL_DESTRUCTOR implementationBrian Paul2016-11-091-0/+5
* util: move min/max/clamp macros to util macros.hDave Airlie2016-10-191-0/+13
* util: remove Sun C Compiler supportTimothy Arceri2016-09-231-1/+1
* util: Add ATTRIBUTE_RETURNS_NONNULL.Matt Turner2016-05-161-0/+6
* st/glsl_to_tgsi: reduce stack explosion in recursive expression visitorNicolai Hähnle2016-04-291-0/+6
* scons: Move fallback HAVE_* definitions to headers.Jose Fonseca2016-04-261-0/+2
* util: add MAYBE_UNUSED for config dependent variablesGrazvydas Ignotas2016-04-251-0/+2
* Remove Sun CC specific code.Jose Fonseca2015-12-021-1/+1
* util: Include assert.h in macros.h.Matt Turner2015-11-241-0/+2
* util: Rename PURE to ATTRIBUTE_PURE.Jose Fonseca2015-08-091-2/+2
* mesa: Detect and provide macros for function attributes pure and const.Eric Anholt2015-07-171-0/+20
* mesa: Add a MUST_CHECK macro for __attribute__((warn_unused_result)).Kenneth Graunke2015-07-061-0/+6
* util/macros: Move DIV_ROUND_UP to util/macros.hAxel Davy2015-04-291-0/+2
* Add macro for unused function attribute.Vinson Lee2015-03-091-0/+6
* util: rework _MSC_VER >= 1200 checksEmil Velikov2015-03-061-5/+3
* mesa: consolidate PUBLIC macro definitionBrian Paul2015-03-041-0/+23
* Revert "util: Move the alternate fpclassify implementation to util"Jason Ekstrand2015-01-281-62/+0
* util: Predicate the fpclassify fallback on !defined(__cplusplus)Jason Ekstrand2015-01-281-2/+12
* util: Move the alternate fpclassify implementation to utilJason Ekstrand2015-01-281-0/+52
* util: Make unreachable at least be an assertCarl Worth2015-01-161-1/+1
* util: Implement assume() for clang.Matt Turner2014-11-241-1/+11
* util: Implement unreachable for MSVC using __assumeIan Romanick2014-11-051-0/+6
* util: Add assume() macro.Matt Turner2014-10-231-0/+14
* ralloc: Mark ralloc functions with gcc's malloc attribute.Matt Turner2014-09-251-0/+6
* mesa: Replace a priori knowledge of gcc attributes with configure tests.Matt Turner2014-09-251-4/+7
* mesa: Replace a priori knowledge of gcc builtins with configure tests.Matt Turner2014-09-251-11/+3
* util: Gather some common macrosJason Ekstrand2014-08-041-0/+128