Adapted from https://github.com/digego/extempore/pull/322/files --- a/include/llvm/IR/ValueMap.h 2015-08-04 00:30:24.000000000 +0200 +++ b/include/llvm/IR/ValueMap.h 2018-07-14 21:09:09.769502736 +0200 @@ -99,7 +99,7 @@ explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64) : Map(NumInitBuckets), Data(Data) {} - bool hasMD() const { return MDMap; } + bool hasMD() const { return static_cast(MDMap); } MDMapT &MD() { if (!MDMap) MDMap.reset(new MDMapT); guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-repl.sh
AgeCommit message (Expand)Author
2020-09-16repl: Look for script files in (getcwd)....Fixes <https://bugs.gnu.org/43331>. * guix/scripts/repl.scm (guix-repl): Replace "." by (getcwd) * tests/guix-repl.sh: Add test. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Konrad Hinsen
2020-06-14guix repl: Add script execution....* guix/scripts/repl.scm: Add filename options for script execution. * doc/guix.texi (Invoking guix repl): Document it. * tests/guix-repl.sh: Test it. * Makefile.am: (SH_TESTS): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Konrad Hinsen