• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
          • Vl-lintresult-p
          • Lint-warning-suppression
            • Vl-mash-warning-strings
            • Vl-design-lint-ignoreall
            • Vl-design-suppress-lint-warnings
            • Vl-warninglist-lint-ignoreall
            • Vl-lint-scan-for-ignore
            • Vl-mash-warning-string
            • Vl-lint-suppress-warnings
            • Vl-warning-type-mash
            • Vl-lint-ignore-att-p
              • Vl-lint-atts-say-ignore
              • Vl-lint-attname-says-ignore
              • Vl-lint-ignore-att-mash
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Lint-warning-suppression

    Vl-lint-ignore-att-p

    Recognize strings that start with lint-ignore or lint_ignore, case insensitive

    Signature
    (vl-lint-ignore-att-p x) → *
    Arguments
    x — Guard (stringp x).

    Definitions and Theorems

    Function: vl-lint-ignore-att-p

    (defun vl-lint-ignore-att-p (x)
      (declare (xargs :guard (stringp x)))
      (let ((__function__ 'vl-lint-ignore-att-p))
        (declare (ignorable __function__))
        (b* ((x (string-fix x))
             (x (str::strsubst "-" "_" x)))
          (str::istrprefixp "lint_ignore" x))))

    Theorem: vl-lint-ignore-att-p-of-str-fix-x

    (defthm vl-lint-ignore-att-p-of-str-fix-x
      (equal (vl-lint-ignore-att-p (str-fix x))
             (vl-lint-ignore-att-p x)))

    Theorem: vl-lint-ignore-att-p-streqv-congruence-on-x

    (defthm vl-lint-ignore-att-p-streqv-congruence-on-x
      (implies (streqv x x-equiv)
               (equal (vl-lint-ignore-att-p x)
                      (vl-lint-ignore-att-p x-equiv)))
      :rule-classes :congruence)