Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eval/public/ast_rewrite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ using StackRecordKind =

struct StackRecord {
public:
ABSL_ATTRIBUTE_UNUSED static constexpr int kNotCallArg = -1;
[[maybe_unused]] static constexpr int kNotCallArg = -1;
static constexpr int kTarget = -2;

StackRecord(Expr* e, const SourceInfo* info) {
Expand Down
2 changes: 1 addition & 1 deletion eval/public/ast_traverse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ using StackRecordKind =

struct StackRecord {
public:
ABSL_ATTRIBUTE_UNUSED static constexpr int kNotCallArg = -1;
[[maybe_unused]] static constexpr int kNotCallArg = -1;
static constexpr int kTarget = -2;

StackRecord(const Expr* e, const SourceInfo* info) {
Expand Down
4 changes: 2 additions & 2 deletions eval/public/cel_function_adapter_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ class FunctionAdapterImpl {
#else
inline absl::Status RunWrap(
std::function<ReturnType()> func,
ABSL_ATTRIBUTE_UNUSED const absl::Span<const CelValue> argset,
[[maybe_unused]] const absl::Span<const CelValue> argset,
::google::protobuf::Arena* arena, CelValue* result,
ABSL_ATTRIBUTE_UNUSED int arg_index) const {
[[maybe_unused]] int arg_index) const {
return ValueConverter().NativeToValue(func(), arena, result);
}

Expand Down
Loading