• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Compilation-database
              • Comp-db-entry
              • Comp-db-arg
                • Comp-db-arg-fix
                • Comp-db-arg-equiv
                • Make-comp-db-arg
                • Comp-db-arg->value
                • Comp-db-arg->separator
                • Change-comp-db-arg
                • Comp-db-argp
                • Comp-db-arg->name
              • Json-to-comp-db-entry
              • Json-to-comp-db-entry-list
              • To-preprocess-db
              • To-preprocess-map
              • Comp-db-arguments-absolute-dirs
              • Comp-db-keep-only-preprocessor-args
              • Json-to-comp-db
              • Json-to-comp-db-arguments
              • Comp-db-relativize-keys
              • Json-to-comp-db-get-exec-and-arguments
              • Relativize-path
              • Preprocess-map-from-comp-file
              • Json-to-comp-db-exec-and-arguments
              • Comp-db-arguments-keep-only-preprocessor-args
              • Comp-db-arguments-escape-for-shell
              • Parse-comp-db
              • Json-to-comp-db-get-directory
              • Json-to-comp-db-get-output
              • Json-to-comp-db-get-file
              • Comp-db-drop-shared
              • Comp-db-drop-non-c
              • Comp-db-arg-list-to-string-list
              • Comp-db-absolute-dirs
              • Comp-db-escape-for-shell
              • Json-to-comp-db-try-parse-short-option
              • Preprocess-db-to-map
              • Comp-db-arg-to-string
              • Comp-db
              • Json-to-comp-db-try-parse-equal-arg
              • Defpreprocess-map-fn
              • String-escape-for-shell
              • Comp-db-arg-list
              • Irr-comp-db-arg
              • Show-warnings
              • *cc-options-space-sep*
              • *cc-options-equal-sep*
              • *cc-options-dir*
            • Printer
            • Output-files
            • Abstract-syntax-operations
            • Implementation-environments
            • Abstract-syntax
            • Concrete-syntax
            • Disambiguation
            • Validation
            • Gcc-builtins
            • Preprocessing
            • Parsing
          • Atc
          • Transformation-tools
          • Language
          • Representation
          • Insertion-sort
          • Pack
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Axe
        • Lists-light
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Compilation-database

Comp-db-arg

A fixtype for a compiler argument parsed from a compilation-database.

This is a product type introduced by fty::defprod.

Fields
name — stringp
separator — stringp
value — ACL2::string-option

An argument is represented by a name and an optional value.

The separator field represents the string which separates the name from the value. For instance, in the argument "-std=c17", the separator is "=". In the argument "-iquote /usr/include", the separator is " ". And in the argument "-I/usr/include", the separator is "". For arguments which do not have an associated value, the separator is "".

Subtopics

Comp-db-arg-fix
Fixing function for comp-db-arg structures.
Comp-db-arg-equiv
Basic equivalence relation for comp-db-arg structures.
Make-comp-db-arg
Basic constructor macro for comp-db-arg structures.
Comp-db-arg->value
Get the value field from a comp-db-arg.
Comp-db-arg->separator
Get the separator field from a comp-db-arg.
Change-comp-db-arg
Modifying constructor for comp-db-arg structures.
Comp-db-argp
Recognizer for comp-db-arg structures.
Comp-db-arg->name
Get the name field from a comp-db-arg.