[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Headers / x86-intrinsics-headers-clean.cpp
bloba19207f34ead80ff4fb8634d281e4b7b00e7414b
1 // Make sure the intrinsic headers compile cleanly with no warnings or errors.
3 // RUN: %clang_cc1 -ffreestanding -triple i386-unknown-unknown \
4 // RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \
5 // RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s
7 // RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown \
8 // RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command \
9 // RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s
11 // expected-no-diagnostics
13 #include <x86intrin.h>