Skip to content
Snippets Groups Projects
  • Ben Langmuir's avatar
    e40e43d0
    Add a 'use-external-names' option to VFS overlay files · e40e43d0
    Ben Langmuir authored
    When true, sets the name of the file to be the name from
    'external-contents'. Otherwise, you get the virtual path that the file
    was looked up by. This will not affect any non-virtual paths, or fully
    virtual paths (for which there is no reasonable 'external' name anyway).
    
    The setting is available globally, but can be overriden on a per-file
    basis.
    
    The goal is that this setting will control which path you see in debug
    info, diagnostics, etc. which are sensitive to which path is used. That
    will come in future patches that pass the name through to FileManager.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202329 91177308-0d34-0410-b5e6-96231b3b80d8
    e40e43d0
    History
    Add a 'use-external-names' option to VFS overlay files
    Ben Langmuir authored
    When true, sets the name of the file to be the name from
    'external-contents'. Otherwise, you get the virtual path that the file
    was looked up by. This will not affect any non-virtual paths, or fully
    virtual paths (for which there is no reasonable 'external' name anyway).
    
    The setting is available globally, but can be overriden on a per-file
    basis.
    
    The goal is that this setting will control which path you see in debug
    info, diagnostics, etc. which are sensitive to which path is used. That
    will come in future patches that pass the name through to FileManager.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202329 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.