zcov: / lib/Driver/CC1Options.cpp


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


Programs: 2 Runs 3018


       1                 : //===--- CC1Options.cpp - Clang CC1 Options Table -----------------------*-===//
       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                 : #include "clang/Driver/CC1Options.h"
      11                 : #include "clang/Driver/Option.h"
      12                 : #include "clang/Driver/OptTable.h"
      13                 : using namespace clang;
      14                 : using namespace clang::driver;
      15                 : using namespace clang::driver::options;
      16                 : using namespace clang::driver::cc1options;
      17                 : 
      18                 : static const OptTable::Info CC1InfoTable[] = {
      19                 : #define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \
      20                 :                HELPTEXT, METAVAR)   \
      21                 :   { NAME, HELPTEXT, METAVAR, Option::KIND##Class, FLAGS, PARAM, \
      22                 :     OPT_##GROUP, OPT_##ALIAS },
      23                 : #include "clang/Driver/CC1Options.inc"
      24                 : };
      25                 : 
      26                 : namespace {
      27                 : 
      28                 : class CC1OptTable : public OptTable {
      29                 : public:
      30             2523:   CC1OptTable()
      31             2523:     : OptTable(CC1InfoTable, sizeof(CC1InfoTable) / sizeof(CC1InfoTable[0])) {}
      32                 : };
      33                 : 
      34                 : }
      35                 : 
      36             2523: OptTable *clang::driver::createCC1OptTable() {
      37             2523:   return new CC1OptTable();
      38                 : }

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