Fix assumption that Clang version number is numeric.

This can be set at configure time and might include other characters.
This commit is contained in:
Richard Smith 2022-08-29 21:40:44 -07:00
parent 72c9f811d8
commit 740a75c9d6
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@ int main() { return 0; }
// INC: -isysroot [[PATH:[^ ]*/Inputs/DriverKit19.0.sdk]]
// INC-LABEL: #include <...> search starts here:
// INC: [[PATH]]/System/DriverKit/usr/local/include
// INC: /lib/clang/{{[0-9\.]+}}/include
// INC: /lib/clang/{{[^/ ]+}}/include
// INC: [[PATH]]/System/DriverKit/usr/include
// INC: [[PATH]]/System/DriverKit/System/Library/Frameworks (framework directory)