zcov: / include/clang/Frontend/LangStandards.def


Files: 1 Branches Taken: 0.0% 0 / 0
Generated: 2010-02-10 01:31 Branches Executed: 0.0% 0 / 0
Line Coverage: 62.5% 10 / 16


Programs: 2 Runs 3018


       1                 : //===-- LangStandards.def - Language Standard Data --------------*- C++ -*-===//
       2                 : //
       3                 : //                     The LLVM Compiler Infrastructure
       4                 : //
       5                 : // This file is distributed under the University of Illinois Open Source
       6                 : // License. See LICENSE.TXT for details.
       7                 : //
       8                 : //===----------------------------------------------------------------------===//
       9                 : 
      10                 : #ifndef LANGSTANDARD
      11                 : #error "LANGSTANDARD must be defined before including this file"
      12                 : #endif
      13                 : 
      14                 : /// LANGSTANDARD(IDENT, NAME, DESC, FEATURES)
      15                 : ///
      16                 : /// \param IDENT - The name of the standard as a C++ identifier.
      17                 : /// \param NAME - The name of the standard.
      18                 : /// \param DESC - A short description of the standard.
      19                 : /// \param FEATURES - The standard features as flags, these are enums from the
      20                 : /// clang::frontend namespace, which is assumed to be be available.
      21                 : 
      22                 : // C89-ish modes.
      23                 : LANGSTANDARD(c89, "c89",
      24                 :              "ISO C 1990",
      25               14:              ImplicitInt)
      26                 : LANGSTANDARD(c90, "c90",
      27                 :              "ISO C 1990",
      28                8:              ImplicitInt)
      29                 : LANGSTANDARD(iso9899_1990, "iso9899:1990",
      30                 :              "ISO C 1990",
      31                0:              ImplicitInt)
      32                 : 
      33                 : LANGSTANDARD(c94, "iso9899:199409",
      34                 :              "ISO C 1990 with amendment 1",
      35                1:              Digraphs | ImplicitInt)
      36                 : 
      37                 : LANGSTANDARD(gnu89, "gnu89",
      38                 :              "ISO C 1990 with GNU extensions",
      39                5:              BCPLComment | Digraphs | GNUMode | ImplicitInt)
      40                 : 
      41                 : // C99-ish modes
      42                 : LANGSTANDARD(c99, "c99",
      43                 :              "ISO C 1999",
      44               13:              BCPLComment | C99 | Digraphs | HexFloat)
      45                 : LANGSTANDARD(c9x, "c9x",
      46                 :              "ISO C 1999",
      47                0:              BCPLComment | C99 | Digraphs | HexFloat)
      48                 : LANGSTANDARD(iso9899_1999,
      49                 :              "iso9899:1999", "ISO C 1999",
      50                0:              BCPLComment | C99 | Digraphs | HexFloat)
      51                 : LANGSTANDARD(iso9899_199x,
      52                 :              "iso9899:199x", "ISO C 1999",
      53                0:              BCPLComment | C99 | Digraphs | HexFloat)
      54                 : 
      55                 : LANGSTANDARD(gnu99, "gnu99",
      56                 :              "ISO C 1999 with GNU extensions",
      57             1584:              BCPLComment | C99 | Digraphs | GNUMode | HexFloat | Digraphs)
      58                 : LANGSTANDARD(gnu9x, "gnu9x",
      59                 :              "ISO C 1999 with GNU extensions",
      60                0:              BCPLComment | C99 | Digraphs | GNUMode | HexFloat)
      61                 : 
      62                 : // C++ modes
      63                 : LANGSTANDARD(cxx98, "c++98",
      64                 :              "ISO C++ 1998 with amendments",
      65               12:              BCPLComment | CPlusPlus | Digraphs)
      66                 : LANGSTANDARD(gnucxx98, "gnu++98",
      67                 :              "ISO C++ 1998 with " "amendments and GNU extensions",
      68              781:              BCPLComment | CPlusPlus | Digraphs | GNUMode)
      69                 : 
      70                 : LANGSTANDARD(cxx0x, "c++0x",
      71                 :              "Upcoming ISO C++ 200x with amendments",
      72              100:              BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs)
      73                 : LANGSTANDARD(gnucxx0x, "gnu++0x",
      74                 :              "Upcoming ISO C++ 200x with amendments and GNU extensions",
      75                0:              BCPLComment | CPlusPlus | CPlusPlus0x | Digraphs | GNUMode)
      76                 : 
      77                 : // OpenCL
      78                 : 
      79                 : LANGSTANDARD(opencl, "cl",
      80                 :              "OpenCL 1.0",
      81                3:              BCPLComment | C99 | Digraphs | HexFloat)
      82                 : 
      83                 : #undef LANGSTANDARD

Generated: 2010-02-10 01:31 by zcov