Skip to content

Commit b8ac672

Browse files
Revert src/cil.ml changes
Co-authored-by: michael-schwarz <13812333+michael-schwarz@users.noreply.github.com>
1 parent 3422861 commit b8ac672

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cil.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ and filterAttributes (s: string) (al: attribute list) : attribute list =
14271427

14281428
(* sm: *)
14291429
let hasAttribute s al =
1430-
List.exists (fun (Attr(an, _)) -> an = s) al
1430+
(filterAttributes s al <> [])
14311431

14321432

14331433
type attributeClass =

0 commit comments

Comments
 (0)