Skip to content
Snippets Groups Projects
  1. Jan 25, 2021
  2. Jan 20, 2021
  3. Dec 21, 2020
  4. Sep 28, 2020
  5. Apr 13, 2020
  6. Jan 02, 2020
  7. Dec 05, 2019
    • Ben Boeckel's avatar
      TestDriver: ignore strcpy call · 677097ac
      Ben Boeckel authored
      clang-analyzer has a check for any use of `strcpy`. This usage is safe
      because it is allocated above using the length of the string.
      677097ac
  8. Oct 11, 2019
    • Brad King's avatar
      VS: Add toolset v142 CSharp flag table · bbf216fb
      Brad King authored
      While the flag tables for C and C++ were generated from MSBuild `.xml`
      files, the CSharp flag tables were written by hand.  Copy the `v141`
      flag table to use for the `v142` toolset.
      
      Remove the special case added by commit 626c51f4 (VS: Update for
      Visual Studio 2019 Preview 2, 2019-01-24, v3.14.0-rc1~74^2) that mapped
      the v142 flag table lookup to v141 since we now have the real v142
      table.
      
      Fixes: #19828
      bbf216fb
  9. Sep 18, 2019
  10. Feb 07, 2019
  11. Jan 25, 2019
  12. Jan 24, 2019
    • Brad King's avatar
      VS: Fix `/MANIFESTUAC:` link flag mapping for v142 · fd45cbf4
      Brad King authored
      Apply the change from commit 454b47ba (VS: Fix MANIFESTUAC link flag
      map to .vcxproj elements, 2018-11-21) to the v142 flag table.
      
      Add special parsing of the flags given in `/MANIFESTUAC:"..."` in order
      to map them correctly to `.vcxproj` elements.
      
      Keep the old incorrect flag table entries for `uiAccess` and `level`
      flags for compatibility even though they do not really exist.
      fd45cbf4
    • Brad King's avatar
      VS: Fix support for '/guard:cf' linker flag for v142 · db35e3cf
      Brad King authored
      Apply the change from commit 57a78b55 (VS: Fix support for '/guard:cf'
      linker flag, 2018-11-21) to the v142 flag table.
      
      Although `$(VCTargetsPath)/1033/link.xml` contains an entry for
      `LinkControlFlowGuard`, it does not work when used in a `.vcxproj` file
      (at least as of v140 and v141).  Drop our link flag table entries for
      these toolsets so that the flag will be passed via `AdditionalOptions`.
      db35e3cf
    • Brad King's avatar
      VS: Map the link `/debug` flag for v142 · 533f95c8
      Brad King authored
      Apply the changes from commit a5d9aa50 (VS: Map the link `/debug` to
      its IDE property, 2018-11-21) and commit f77320c1 (VS: Add v140 and
      v141 flag table entries for /DEBUG:NONE and /DEBUG:FULL, 2018-11-21) to
      the v142 flag table.
      
      See commit ae44496e (VS: Fix GenerateDebugInformation values for v140
      and v141 toolsets, 2017-06-27, v3.9.0-rc6~15^2~1) for explanation.
      533f95c8
    • Brad King's avatar
      VS: Fix `/MANIFESTUAC:NO` link flag mapping for v142 · d2fcc674
      Brad King authored
      Apply the change from commit 1d00fd77 (VS: Fix /MANIFESTUAC:NO linker
      option mapping, 2018-11-21) to the v142 flag table.
      
      There are no versions of `/MANIFESTUAC:NO` where addition values are
      appended.  Remove both of the `MANIFESTUAC:NO` entries from our flag
      tables and replace them with one which would set `EnableUAC` to false
      and immediately stop processing the `/MANIFESTUAC:NO` option.
      d2fcc674
    • Brad King's avatar
      VS: Populate `/permissive` flag table entry for v142 · a7973ccb
      Brad King authored
      Apply the change from commit e0d6d01e (VS: Add flag table entry for
      "permissive" flag to disable conformance mode, 2018-12-10) to the
      v142 flag table.
      a7973ccb
    • Brad King's avatar
      VS: Populate `/JMC-` flag table entry for v142 · 049410c0
      Brad King authored
      Add the negative form of the option.
      049410c0
    • Brad King's avatar
      VS: Populate `-Qspectre-` flag table entry for v142 · 43aa632f
      Brad King authored
      Rather than the change from commit 584ad067 (VS: Fix flag table entry
      for -Qspectre, 2018-11-26), update the v142 flag table with an actual
      flag for the negative form of the flag.  Switch the entry order so that
      the longer negative form is first.
      43aa632f
    • Brad King's avatar
      VS: Populate `/Y-` flag table entry for v142 · 460a146e
      Brad King authored
      Apply the change from commit 8df25f94 (VS: connect /Y- compiler option
      with "Not Using Precompiled Headers", 2018-11-26) to the v142 flag
      table.
      460a146e
    • Brad King's avatar
      VS: Add `-Zc:inline[-]` flag table entry for v142 · 0df37903
      Brad King authored
      Apply the change from commit f1223e34 (VS: Add v140 flag table entries
      for `-Zc:inline[-]`, 2018-11-26) to the v142 flag table.
      
      The documentation of this option [1] claims that the default is off, but
      VS seems to use `-Zc:inline` by default if `RemoveUnreferencedCodeData`
      does not appear in the `.vcxproj` file.  Add the flag table entry to
      allow use of the flag to be configured.
      
      [1] https://msdn.microsoft.com/en-us/library/dn642448.aspx
      0df37903
    • Brad King's avatar
      VS: Fix `/analyze:log` flag mapping for v142 · fb2e418c
      Brad King authored
      Apply the change from commit 44dc9fc4 (VS: Fix /analyze:log flag
      mapping, 2018-11-26) to the v142 flag table.
      
      The `/analyze:log` argument requires a value in the following argument.
      Also drop the general `/analyze:` flag table entry so that such flags
      will be passed through as plain additional options.  This is necessary
      because some such options have following values and some do not but
      not all have `.vcxproj` elements to hold the values.
      fb2e418c
    • Brad King's avatar
      VS: Add v142 flag tables for cl and link tools · 20922d67
      Brad King authored
      Convert from MSBuild `.xml` files:
      
          python cmConvertMSBuildXMLToJSON.py -t v142 .../2019/Preview/MSBuild/Microsoft/VC/v160/1033/cl.xml
          python cmConvertMSBuildXMLToJSON.py -t v142 .../2019/Preview/MSBuild/Microsoft/VC/v160/1033/link.xml
      20922d67
  13. Dec 10, 2018
  14. Nov 28, 2018
Loading