Skip to content
Snippets Groups Projects
Select Git revision
  • 1d3bca8ad331e7e709bb5e39c23dc19014af8399
  • master default protected
  • nlf-fixes
  • DSMH
  • OneStep2
  • SMC
  • online-filter-as-a-sampler
  • nonlinear-filter-fixes
  • SMCsamplers
  • smc-sampler
  • 4.5
  • dynamic-striated
  • occbin
  • exo_steady_state
  • filter_initial_state
  • declare_vars_in_model_block
  • exceptions
  • rmExtraExo
  • julia
  • error_msg_undeclared_model_vars
  • static_aux_vars
  • 4.5.6
  • 4.5.5
  • 4.5.4
  • 4.5.3
  • 4.5.2
  • 4.5.1
  • 4.5.0
  • 4.4.3
  • 4.4.2
  • 4.4.1
  • 4.4.0
  • 4.4-beta1
  • 4.3.3
  • 4.3.2
  • 4.3.1
  • 4.3.0
  • 4.2.5
  • 4.2.4
  • 4.2.3
  • 4.2.2
41 results

indent-c++

Blame
  • Forked from Dynare / dynare
    9800 commits behind the upstream repository.
    indent-c++ 282 B
    #!/bin/sh
    
    # Reindents the C++ source code file given in argument.
    
    if [ -z "$1" ]; then
        echo "Give a filename in argument"
        exit 1
    fi
    
    SCRIPTS_DIR=$(dirname $0)
    
    uncrustify -l CPP --replace -c ${SCRIPTS_DIR}/uncrustify.cfg $1
    emacs -batch $1 -l ${SCRIPTS_DIR}/indent-c++.el