[all-commits] [llvm/llvm-project] b3f94f: [clang][Driver] allow tilde in user config dir

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Nov 16 04:23:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3f94fe1c3c4f4fd7a937288b5543c4067b3e2f2
      https://github.com/llvm/llvm-project/commit/b3f94fe1c3c4f4fd7a937288b5543c4067b3e2f2
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/config-file3.c

  Log Message:
  -----------
  [clang][Driver] allow tilde in user config dir

This patch allows users to configure clang with option
e.g. `-DCLANG_CONFIG_FILE_USER_DIR=~/.config/clang` or invoke clang
with `--config-user-dir=~/.config/clang`.

Patch merged on behalf of @paperchalice (LJC)

Differential Revision: https://reviews.llvm.org/D136940




More information about the All-commits mailing list