mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
This PR is part of an effort to remove file system usage from the command line parsing code. The reason for that is that it's impossible to do file system access correctly without a configured VFS, and the VFS can only be configured after the command line is parsed. I don't want to intertwine command line parsing and VFS configuration, so I decided to perform the file system access after the command line is parsed and the VFS is configured - ideally right before the file system entity is used for the first time. This patch delays checking that `model-path` is an existing directory.
4 lines
253 B
C++
4 lines
253 B
C++
// RUN: not %clang_analyze_cc1 -analyzer-checker=core -analyzer-config model-path=%t/blah %s -o - 2>&1 | FileCheck %s
|
|
// CHECK: error: invalid input for analyzer-config option 'model-path', that expects a filename value
|
|
// CHECK-NEXT: 1 error generated
|