Skip to content
Snippets Groups Projects
  • Hans Wennborg's avatar
    4ae9fc58
    clang-format vs plugin: set version number from cmake (PR20307) · 4ae9fc58
    Hans Wennborg authored
    Previously it was hard-coded to 1.0, which meant the installer would
    not install the plugin over previous versions.
    
    This commit makes us use LLVM's major.minor.patch version from cmake,
    or whatever CLANG_FORMAT_VS_VERSION is set to when configuring the build.
    
    It's pretty dirty to update a configuration file in the source directory
    from the cmake build like this. However, the plugin build is already
    dirty in this regard since it builds in the source dir when visual studio,
    and then copies out the resulting vsix.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213584 91177308-0d34-0410-b5e6-96231b3b80d8
    4ae9fc58
    History
    clang-format vs plugin: set version number from cmake (PR20307)
    Hans Wennborg authored
    Previously it was hard-coded to 1.0, which meant the installer would
    not install the plugin over previous versions.
    
    This commit makes us use LLVM's major.minor.patch version from cmake,
    or whatever CLANG_FORMAT_VS_VERSION is set to when configuring the build.
    
    It's pretty dirty to update a configuration file in the source directory
    from the cmake build like this. However, the plugin build is already
    dirty in this regard since it builds in the source dir when visual studio,
    and then copies out the resulting vsix.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213584 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.