Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:36:50

0001 //===--- PragmaKinds.h - #pragma comment() kinds  ---------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_CLANG_BASIC_PRAGMAKINDS_H
0010 #define LLVM_CLANG_BASIC_PRAGMAKINDS_H
0011 
0012 namespace clang {
0013 
0014 enum PragmaMSCommentKind {
0015   PCK_Unknown,
0016   PCK_Linker,   // #pragma comment(linker, ...)
0017   PCK_Lib,      // #pragma comment(lib, ...)
0018   PCK_Compiler, // #pragma comment(compiler, ...)
0019   PCK_ExeStr,   // #pragma comment(exestr, ...)
0020   PCK_User      // #pragma comment(user, ...)
0021 };
0022 
0023 enum PragmaMSStructKind {
0024   PMSST_OFF, // #pragms ms_struct off
0025   PMSST_ON   // #pragms ms_struct on
0026 };
0027 
0028 enum PragmaFloatControlKind {
0029   PFC_Unknown,
0030   PFC_Precise,   // #pragma float_control(precise, [,on])
0031   PFC_NoPrecise, // #pragma float_control(precise, off)
0032   PFC_Except,    // #pragma float_control(except [,on])
0033   PFC_NoExcept,  // #pragma float_control(except, off)
0034   PFC_Push,      // #pragma float_control(push)
0035   PFC_Pop        // #pragma float_control(pop)
0036 };
0037 
0038 enum PragmaFPKind {
0039   PFK_Contract,    // #pragma clang fp contract
0040   PFK_Reassociate, // #pragma clang fp reassociate
0041   PFK_Reciprocal,  // #pragma clang fp reciprocal
0042   PFK_Exceptions,  // #pragma clang fp exceptions
0043   PFK_EvalMethod   // #pragma clang fp eval_method
0044 };
0045 }
0046 
0047 #endif