aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix misspellingakhropov2024-12-181-1/+1
| | | | commit_hash:c7d6839d95bf6b9f1d0fa4081d4ecc66a1503de9
* Set SpacesInLineCommentPrefix to 1 in /utildmasloff2024-08-171-1/+1
| | | | | Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
* Allow to use clang < 13 as a CUDA host compiler (as intended for CUDA < 11.8).akhropov2024-08-161-1/+1
| | | | f8fbe3627553dc1353ece3c098bb5df2ab788b92
* Enable MarkAsIntentionallyLeaked API for --sanitize=leak buildsbabenko2024-04-201-1/+7
| | | | f660faa016f3549719f718b14125e02327fc02b2
* Library import 2 (#639)AlexSm2023-12-221-0/+40
|
* re-enable clang::reinitialized attribute for non-CUDA target platformsswarmer2023-12-171-1/+1
| | | | | Check the version of the nvcc compiler only if it is used. Re-enable `[[clang::reinitialized]]` attribute for all other clang-based toolsets.
* finer check of lifetimebound attribute supportswarmer2023-12-141-2/+8
| | | | Fix warnings when compiling with old CUDA SDKs.
* add attribute to detect lifetime bound errorsswarmer2023-12-111-0/+14
| | | | | | | Add wrapper for [[clang::lifetimebound]] attribute. Mark `ToString(TString)` functions with a new attibute. Preserve rvalue reference type when ToString applied to a temporary string.
* Delete constant reference API to DoNotOptimizeAwaybulatman2023-06-121-0/+9
|
* Require semicolon after saveload macrosesbulatman2023-06-081-0/+4
|
* Remove xray supportthegeorg2023-06-061-22/+0
|
* Remove using of extra semicolons in utilbulatman2023-05-041-1/+1
|
* (no commit message)pg2023-03-281-2/+2
|
* Remove a workaround for ancient CUDA versionsdfyz2022-10-291-7/+0
| | | `#define noexcept throw()` is a questionable idea, since replacing `noexcept` with `throw()` in expressions such as `noexcept(true)` results in spectacular compiler errors. We stopped supporting CUDA 8 (and even CUDA 9) long ago, which means we can just get rid of the problematic define.
* Fix a warning when compiling util/ with nvcc 10.xdfyz2022-10-081-1/+1
| | | | | | | | | | | | nvcc10.1 is unable to compile `[[clang::reinitializes]]` and issues warning as follows: ``` util/generic/ptr.h(194): warning: attribute namespace "clang" is unrecognized util/generic/ptr.h(201): warning: attribute namespace "clang" is unrecognized [...] ``` nvcc11 compiles this code without any warnings. This PRs disable `[[clang::reinitialized]]` when compiling with nvcc10.
* Mark clear and reset methods as reinitializing the object.halyavin2022-08-051-0/+6
| | | | | This means, that moved-from object can be safely used after the call of such method. This attribute is used by clang-tidy which checks that moved-from objects are not used unless a reinitialization method is called first.
* Fix -Wpragma-pack in trie.hthegeorg2022-03-071-1/+13
| | | | | | | | | | `#include ` and `#include ` modify current `#pragma pack` value and thus trigger `-Wpragma-pack` under clang-cl. As there is no way to implement packed structs via attributes, introduce proper compiler-specific variables in `` and use them to check whether we are compiling with MSVC. ref:e47cdb9c38eb305b9c5bcc5ad719e21ec52eb14c
* Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 2 of 2.a-square2022-02-101-59/+59
|
* Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 1 of 2.a-square2022-02-101-59/+59
|
* Restoring authorship annotation for <anelyubin@yandex-team.ru>. Commit 2 of 2.anelyubin2022-02-101-3/+3
|
* Restoring authorship annotation for <anelyubin@yandex-team.ru>. Commit 1 of 2.anelyubin2022-02-101-3/+3
|
* Restoring authorship annotation for <agri@yandex-team.ru>. Commit 2 of 2.agri2022-02-101-4/+4
|
* Restoring authorship annotation for <agri@yandex-team.ru>. Commit 1 of 2.agri2022-02-101-4/+4
|
* Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.aosipenko2022-02-101-2/+2
|
* Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.aosipenko2022-02-101-2/+2
|
* Restoring authorship annotation for <breakneck@yandex-team.ru>. Commit 2 of 2.breakneck2022-02-101-2/+2
|
* Restoring authorship annotation for <breakneck@yandex-team.ru>. Commit 1 of 2.breakneck2022-02-101-2/+2
|
* Restoring authorship annotation for <gusev-p@yandex-team.ru>. Commit 2 of 2.gusev-p2022-02-101-12/+12
|
* Restoring authorship annotation for <gusev-p@yandex-team.ru>. Commit 1 of 2.gusev-p2022-02-101-12/+12
|
* Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.yazevnul2022-02-101-43/+43
|
* Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.yazevnul2022-02-101-43/+43
|
* Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 2 of 2.vvvv2022-02-101-6/+6
|
* Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 1 of 2.vvvv2022-02-101-6/+6
|
* Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. ↵Andrey Khalyavin2022-02-101-17/+17
| | | | Commit 2 of 2.
* Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. ↵Andrey Khalyavin2022-02-101-17/+17
| | | | Commit 1 of 2.
* Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. ↵Vlad Yaroslavlev2022-02-101-168/+168
| | | | Commit 2 of 2.
* Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. ↵Vlad Yaroslavlev2022-02-101-168/+168
| | | | Commit 1 of 2.
* Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 2 of 2.mcheshkov2022-02-101-33/+33
|
* Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 1 of 2.mcheshkov2022-02-101-33/+33
|
* Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵Ilnur Khuziev2022-02-101-19/+19
| | | | Commit 2 of 2.
* Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵Ilnur Khuziev2022-02-101-19/+19
| | | | Commit 1 of 2.
* Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.somov2022-02-101-10/+10
|
* Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.somov2022-02-101-10/+10
|
* Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.mvel2022-02-101-1/+1
|
* Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.mvel2022-02-101-1/+1
|
* Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. ↵Alexander Fokin2022-02-101-15/+15
| | | | Commit 2 of 2.
* Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. ↵Alexander Fokin2022-02-101-15/+15
| | | | Commit 1 of 2.
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-101-249/+249
| | | | Commit 2 of 2.
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-101-249/+249
| | | | Commit 1 of 2.
* Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.thegeorg2022-02-101-13/+13
|