appendOrError

Append the compiler flags if a match is found in the DB or error out.

TODO: consider using exceptions instead of Nullable.

  1. Nullable!(SearchResult) appendOrError(CompileCommandDB compilation_db, string[] cflags, string input_file, Compiler user_compiler)
  2. Nullable!SearchResult appendOrError(CompileCommandDB compilation_db, string[] cflags, string input_file, CompileCommandFilter flag_filter, Compiler user_compiler)
    @safe @safe
    Nullable!SearchResult
    appendOrError
    (,
    const string[] cflags
    ,
    const string input_file
    ,,
    const Compiler user_compiler = Compiler.init
    )

Meta