Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this fixes clang warning/errors in pull request 7683 #7780

Merged
merged 4 commits into from
Feb 19, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Utilities/StaticAnalyzers/scripts/data-class-funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
nsep = re.compile("\:\:")
topfunc = re.compile("::(produce|analyze|filter|beginLuminosityBlock|beginRun)\(")
baseclass = re.compile("edm::(one::|stream::|global::)?ED(Producer|Filter|Analyzer)(Base)?")
getfunc = re.compile("edm::eventsetup::EventSetupRecord::get\((.*)&\) const")
getfunc = re.compile("edm::eventsetup::EventSetupRecord::get\<.*\>\((.*)&\) const")
handle = re.compile("(.*),?class edm::ES(.*)Handle<(.*)>")
skip = re.compile("edm::serviceregistry::ServicesManager::MakerHolder::add() const")
statics = set()
Expand Down
5 changes: 3 additions & 2 deletions Utilities/StaticAnalyzers/scripts/run_class_dumper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if [ $# -eq 0 ] ;then J=$(getconf _NPROCESSORS_ONLN); else J=$1; fi

eval `scram runtime -sh`
for file in `cmsglimpse -l -F src/classes.*.h$ include`;do
dir=`dirname $file`;
echo \#include \<$file\> >${LOCALRT}/src/$dir/`basename $file`.cc ;
dir=`dirname $file`;
echo \#include \<$file\> >${LOCALRT}/src/$dir/`basename $file`.cc ;
done
cd ${LOCALRT}/tmp/
touch dump-start
Expand All @@ -32,6 +32,7 @@ sort -u < function-dumper.txt.unsorted > function-calls-db.txt
class-composition.py >classes.txt.inherits.unsorted
sort -u classes.txt.inherits.unsorted | grep -e"^class" | grep -v \'\' >classes.txt.inherits
sort -u classes.txt.inherits.unsorted | grep -v -e"^class" >classes.txt.inherits.extra
sort -u getparam-dumper.txt.unsorted | awk '{print $0"\n"}' >getparam-dumper.txt
cat classes.txt.inherits classes.txt.dumperft classes.txt.dumperct | grep -e"^class" | grep -v \'\' | sort -u >classes.txt
rm *.txt.*unsorted
classname-blmflt.py
4 changes: 4 additions & 0 deletions Utilities/StaticAnalyzers/src/getParamDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ const std::string getArgumentValueString(const CallExpr *CE, CheckerContext &C,
argVal.dumpToStream(os);
return os.str();
}

std::string buf("");
return buf;

}


Expand Down