Skip to content

Instantly share code, notes, and snippets.

Vassil Vassilev vgvassilev

View GitHub Profile
View cmssw_cheatsheet.md

Building ROOT in the context of CMSSW

wget https://raw.githubusercontent.com/cms-sw/cms-bot/master/config.map
eval `grep CMSSW_11_0_ROOT6_X config.map | grep -v DISABLED`
PKGTOOLS_TAG=V00-32-XX
CMSDIST_TAG=IB/CMSSW_11_0_X/gcc700
ARCH=slc7_amd64_gcc820
git clone -b $CMSDIST_TAG https://github.com/cms-sw/cmsdist
git clone -b $PKGTOOLS_TAG https://github.com/cms-sw/pkgtools
@vgvassilev
vgvassilev / Useless conditions clang
Created Mar 8, 2015
Patch provided by Nick Lewycky (see [cfe-dev] CopyPaste detection clang static analyzer)
View Useless conditions clang
Index: include/clang/AST/Expr.h
===================================================================
--- include/clang/AST/Expr.h (revision 200870)
+++ include/clang/AST/Expr.h (working copy)
@@ -690,9 +690,9 @@
}
/// IgnoreParens - Ignore parentheses. If this Expr is a ParenExpr, return
- /// its subexpression. If that subexpression is also a ParenExpr,
- /// then this method recursively returns its subexpression, and so forth.
You can’t perform that action at this time.