#!/bin/bash
for s in *.cpp; do
    if [ ! -f ${s%.cpp}.log ]; then
	echo $s
	clang++ -fno-crash-diagnostics -std=c++11 $s >&${s%.cpp}.log
    fi
done
