• Kenton Varda's avatar
    Replace all include guards with #pragma once. · 677a52ab
    Kenton Varda authored
    @kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer.
    
    At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
    677a52ab
Name
Last commit
Last update
..
capnp-test.ekam-rule Loading commit data...
capnp-test.sh Loading commit data...
capnp.c++ Loading commit data...
capnp.ekam-manifest Loading commit data...
capnpc-c++.c++ Loading commit data...
capnpc-capnp.c++ Loading commit data...
compiler.c++ Loading commit data...
compiler.h Loading commit data...
error-reporter.c++ Loading commit data...
error-reporter.h Loading commit data...
evolution-test.c++ Loading commit data...
grammar.capnp Loading commit data...
grammar.capnp.c++ Loading commit data...
grammar.capnp.h Loading commit data...
lexer-test.c++ Loading commit data...
lexer.c++ Loading commit data...
lexer.capnp Loading commit data...
lexer.capnp.c++ Loading commit data...
lexer.capnp.h Loading commit data...
lexer.h Loading commit data...
module-loader.c++ Loading commit data...
module-loader.h Loading commit data...
node-translator.c++ Loading commit data...
node-translator.h Loading commit data...
parser.c++ Loading commit data...
parser.h Loading commit data...
type-id-test.c++ Loading commit data...
type-id.c++ Loading commit data...
type-id.h Loading commit data...