apicompatanamdw/compatanalysercmd/headeranalyser/src/MacroAnalyser.h
changeset 12 a0eee409ff14
parent 0 638b9c697799
equal deleted inserted replaced
11:bdd2944b914b 12:a0eee409ff14
    25 #include "CPPParser.h"
    25 #include "CPPParser.h"
    26 #include "AnalyserParams.h"
    26 #include "AnalyserParams.h"
    27 
    27 
    28 using namespace std;
    28 using namespace std;
    29 
    29 
    30 
    30 #define KEY_VAL_CURRENT "curr_key_val"
    31 /**
    31 /**
    32 * The MacroAnalysis class analyses differences between the baseline and 
    32 * The MacroAnalysis class analyses differences between the baseline and 
    33 * the current version macro definitions and adds issues to 
    33 * the current version macro definitions and adds issues to 
    34 * the ReportGenerator.
    34 * the ReportGenerator.
    35 */
    35 */
    95     * @param bundlefiles bundle of headers to parse
    95     * @param bundlefiles bundle of headers to parse
    96     * @param aRemoved pointer to removed items map
    96     * @param aRemoved pointer to removed items map
    97     * @param aAddToRemoved add findings to removed, if true (default=NULL)
    97     * @param aAddToRemoved add findings to removed, if true (default=NULL)
    98     * @return map of duplicates in current headers (default=false)
    98     * @return map of duplicates in current headers (default=false)
    99     */
    99     */
   100     map<string, list<pair<pair<string, string>,string> > >  parseMacros(ifstream& aFile, vector<string>& bundlefiles, map<string, TChange<list<pair<string,string> > > >* aRemoved = NULL, bool aAddToRemoved = false);
   100     map<string, list<pair<pair<string, string>,string> > >  parseMacros(ifstream& aFile, vector<string>& bundlefiles, map<string, TChange<list<pair<string,string> > > >* aRemoved = NULL, bool isbaseline = false);
   101 
   101 
   102     /**
   102     /**
   103     * Find duplicates
   103     * Find duplicates
   104     * @param basefilename baseline filename
   104     * @param basefilename baseline filename
   105     * @param currentfilename currentline filename
   105     * @param currentfilename currentline filename