#include "cccc.h"
#include <fstream>
#include "cccc_opt.h"
#include "cccc_utl.h"
#include "cccc_met.h"
#include <map>
Go to the source code of this file.
static void add_dialect_keyword |
( |
CCCC_Item & |
dialect_keyword_line | ) |
|
|
static |
Definition at line 75 of file cccc_opt.cc.
77 string dialect, keyword, policy;
79 dialect_keyword_line.
Extract(dialect) &&
80 dialect_keyword_line.
Extract(keyword) &&
81 dialect_keyword_line.
Extract(policy)
84 dialect_keyword_map_t::key_type kt(dialect,keyword);
85 dialect_keyword_map_t::value_type vt(kt,policy);
static dialect_keyword_map_t dialect_keyword_map
static void add_file_extension |
( |
CCCC_Item & |
fileext_line | ) |
|
|
static |
Definition at line 43 of file cccc_opt.cc.
51 file_extension_language_map_t::value_type extension_pair(ext,lang);
static file_extension_language_map_t extension_map
void add_treatment |
( |
CCCC_Item & |
treatment_line | ) |
|
Definition at line 56 of file cccc_opt.cc.
59 metric_treatment_map_t::iterator iter=
64 delete (*iter).second;
65 (*iter).second=new_treatment;
69 metric_treatment_map_t::value_type
70 treatment_pair(new_treatment->
code,new_treatment);
static metric_treatment_map_t treatment_map
const char * default_dialect_options |
Initial value:=
{
"c++.mfc@BEGIN_MESSAGE_MAP@start_skipping@",
"c++.mfc@END_MESSAGE_MAP@stop_skipping@",
"c++.stl@__STL_BEGIN_NAMESPACE@ignore@",
"c++.stl@__STL_END_NAMESPACE@ignore@",
NULL
}
Definition at line 391 of file cccc_opt.cc.
const char * default_fileext_options |
const char * default_treatment_options |