Tweak location of diagnostic for -Wunreachable-code
[clang.git] / test / lit.site.cfg.in
blob0d452ef6b55aa6443aa110af150d2222e4a82cd9
1 ## Autogenerated by LLVM/Clang configuration.
2 # Do not edit!
3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
6 config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
7 config.clang_obj_root = "@CLANG_BINARY_DIR@"
8 config.target_triple = "@TARGET_TRIPLE@"
10 # Support substitution of the tools and libs dirs with user parameters. This is
11 # used when we can't determine the tool dir at configuration time.
12 try:
13     config.llvm_tools_dir = config.llvm_tools_dir % lit.params
14     config.llvm_libs_dir = config.llvm_libs_dir % lit.params
15 except KeyError,e:
16     key, = e.args
17     lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
19 # Let the main config do the real work.
20 lit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")