mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
nixexpr.hh: Avoid the warning and pragmas
This commit is contained in:
parent
6bbd493d49
commit
131b6ccc71
1 changed files with 1 additions and 6 deletions
|
@ -36,16 +36,11 @@ struct Value;
|
||||||
*/
|
*/
|
||||||
struct DocComment {
|
struct DocComment {
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wcomment" // "nested comment start" is intentional
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start of the comment, including `/**`.
|
* Start of the comment, including the opening, ie `/` and `**`.
|
||||||
*/
|
*/
|
||||||
PosIdx begin;
|
PosIdx begin;
|
||||||
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Position right after the final asterisk and `/` that terminate the comment.
|
* Position right after the final asterisk and `/` that terminate the comment.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue