================
@@ -121,6 +123,18 @@ def __init__(self, args: argparse.Namespace, extra_args:
List[str]) -> None:
self.clang_extra_args = self.clang_tidy_extra_args[i + 1 :]
self.clang_tidy_extra_args = self.clang_tidy_extra_args[:i]
+ self.check_header_map: Dict[str, str] = {}
----------------
zeyi2 wrote:
The diff here sets up the environment for headers testing:
- `check_header_map`: maintain a mapping between the original path and temp
files
- add `-I <temp_header_dir>` to the arguments. This ensures that `clang-tidy`
uses the copies of the headers.
https://github.com/llvm/llvm-project/pull/175735
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits