about summary refs log tree commit diff
path: root/src/librustdoc/scrape_examples.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-07-30 18:53:51 +0200
committerest31 <MTest31@outlook.com>2022-07-30 18:53:51 +0200
commiteca274a1f92925ebcf0db0e2ff9ab03000fd6c4c (patch)
tree4b167c07b54b7b12da83332c22885ed75af75bea /src/librustdoc/scrape_examples.rs
parent110777b60c0c02a9bb62c6ffc081dc276de81210 (diff)
downloadrust-eca274a1f92925ebcf0db0e2ff9ab03000fd6c4c.tar.gz
rust-eca274a1f92925ebcf0db0e2ff9ab03000fd6c4c.zip
Also gate AllocatedPointer and AllocAlign definitions by LLVM_VERSION_GE
Fixes a warning:

warning: llvm-wrapper/RustWrapper.cpp:159:11: warning: enumeration values 'AllocatedPointer' and 'AllocAlign' not handled in switch [-Wswitch]
warning:   switch (Kind) {
warning:           ^

Which was fall out from 130a1df71ea73ab9d66d3cb8fc9cdb43155d514b.
Diffstat (limited to 'src/librustdoc/scrape_examples.rs')
0 files changed, 0 insertions, 0 deletions