Skip to content

Commit

Permalink
Merge pull request #1318 from robertodr/modernize-deprecated-headers
Browse files Browse the repository at this point in the history
clang-tidy apply modernize-deprecated-headers fixes
  • Loading branch information
amjames committed Oct 30, 2018
2 parents 258f326 + a52028b commit 6b5dff0
Show file tree
Hide file tree
Showing 67 changed files with 112 additions and 112 deletions.
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/Gijab_RHF.cc
Expand Up @@ -30,7 +30,7 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/add_ref_RHF.cc
Expand Up @@ -30,7 +30,7 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libiwl/iwl.h" #include "psi4/libiwl/iwl.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/ccdensity/build_Z_RHF.cc
Expand Up @@ -30,11 +30,11 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdlib.h> #include <cstdlib>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include <math.h> #include <cmath>
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
#include "Frozen.h" #include "Frozen.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/deanti_RHF.cc
Expand Up @@ -40,7 +40,7 @@
#define EXTERN #define EXTERN
#include "globals.h" #include "globals.h"


#include <stdio.h> #include <cstdio>


namespace psi { namespace psi {
namespace ccdensity { namespace ccdensity {
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/dump_RHF.cc
Expand Up @@ -30,7 +30,7 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include "psi4/libiwl/iwl.h" #include "psi4/libiwl/iwl.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/energy_RHF.cc
Expand Up @@ -31,7 +31,7 @@
\brief Calculates the one- and two-electron CC energies using the \brief Calculates the one- and two-electron CC energies using the
coresponding one- and two-particle density matrices. coresponding one- and two-particle density matrices.
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/energy_ROHF.cc
Expand Up @@ -31,7 +31,7 @@
\brief Calculates the one- and two-electron CC energies using the \brief Calculates the one- and two-electron CC energies using the
coresponding one- and two-particle density matrices. coresponding one- and two-particle density matrices.
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/energy_UHF.cc
Expand Up @@ -31,7 +31,7 @@
\brief Calculates the one- and two-electron CC energies using the \brief Calculates the one- and two-electron CC energies using the
coresponding one- and two-particle density matrices. coresponding one- and two-particle density matrices.
*/ */
#include <stdio.h> #include <cstdio>
#include <cstring> #include <cstring>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/fold_RHF.cc
Expand Up @@ -30,7 +30,7 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/ccdensity/sortI_RHF.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include <math.h> #include <cmath>
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include "psi4/libiwl/iwl.h" #include "psi4/libiwl/iwl.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/ccdensity/sortone_RHF.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCDENSITY \ingroup CCDENSITY
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include <math.h> #include <cmath>
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include "psi4/libpsio/psio.h" #include "psi4/libpsio/psio.h"
#include "psi4/libiwl/iwl.h" #include "psi4/libiwl/iwl.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/x_xi2.cc
Expand Up @@ -32,7 +32,7 @@
*/ */
#include <cstdio> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "math.h" #include <cmath>
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
#include "Frozen.h" #include "Frozen.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/x_xi2_rhf.cc
Expand Up @@ -32,7 +32,7 @@
*/ */
#include <cstdio> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "math.h" #include <cmath>
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
#include "Frozen.h" #include "Frozen.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/ccdensity/x_xi2_uhf.cc
Expand Up @@ -32,7 +32,7 @@
*/ */
#include <cstdio> #include <cstdio>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "math.h" #include <cmath>
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
#include "Frozen.h" #include "Frozen.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/cchbar/Wamef.cc
Expand Up @@ -31,7 +31,7 @@
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <cstdio> #include <cstdio>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/cchbar/Wmbej.cc
Expand Up @@ -31,7 +31,7 @@
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <cstdio> #include <cstdio>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/cchbar/Wmbij.cc
Expand Up @@ -31,7 +31,7 @@
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <cstdio> #include <cstdio>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/cc/cchbar/Wmnie.cc
Expand Up @@ -31,7 +31,7 @@
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <cstdio> #include <cstdio>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "MOInfo.h" #include "MOInfo.h"
#include "Params.h" #include "Params.h"
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/cclambda/L1.cc
Expand Up @@ -30,8 +30,8 @@
\ingroup CCLAMBDA \ingroup CCLAMBDA
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <string> #include <string>
#include <cstring> #include <cstring>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_UHF_AAA.cc
Expand Up @@ -103,10 +103,10 @@
** Modified to return disconnected triples, TDC, Feburary 2008 ** Modified to return disconnected triples, TDC, Feburary 2008
*/ */


#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <cstring> #include <cstring>
#include <math.h> #include <cmath>
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/psifiles.h" #include "psi4/psifiles.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_UHF_AAB.cc
Expand Up @@ -101,10 +101,10 @@
** TDC, July 2004 ** TDC, July 2004
*/ */


#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <cstring> #include <cstring>
#include <math.h> #include <cmath>
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/psifiles.h" #include "psi4/psifiles.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_UHF_ABC.cc
Expand Up @@ -26,10 +26,10 @@
* @END LICENSE * @END LICENSE
*/ */


#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <cstring> #include <cstring>
#include <math.h> #include <cmath>
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/psifiles.h" #include "psi4/psifiles.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_grad_RHF.cc
Expand Up @@ -31,9 +31,9 @@
\brief Computes T3-dependent terms needed in cclambda and \brief Computes T3-dependent terms needed in cclambda and
ccdensity for (T) contributions to the CCSD(T) energy gradient. ccdensity for (T) contributions to the CCSD(T) energy gradient.
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <math.h> #include <cmath>
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_grad_UHF_AAA.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCTRIPLES \ingroup CCTRIPLES
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_grad_UHF_AAB.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCTRIPLES \ingroup CCTRIPLES
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <math.h> #include <cmath>
#include "psi4/libciomr/libciomr.h" #include "psi4/libciomr/libciomr.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_grad_UHF_BBA.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCTRIPLES \ingroup CCTRIPLES
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/cctriples/T3_grad_UHF_BBB.cc
Expand Up @@ -30,9 +30,9 @@
\ingroup CCTRIPLES \ingroup CCTRIPLES
\brief Enter brief description of file here \brief Enter brief description of file here
*/ */
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <math.h> #include <cmath>
#include "psi4/libdpd/dpd.h" #include "psi4/libdpd/dpd.h"
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "MOInfo.h" #include "MOInfo.h"
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/dcft/main.cc
Expand Up @@ -35,8 +35,8 @@
#include "psi4/libpsi4util/PsiOutStream.h" #include "psi4/libpsi4util/PsiOutStream.h"
#include "psi4/liboptions/liboptions.h" #include "psi4/liboptions/liboptions.h"


#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>


using namespace psi; using namespace psi;


Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/detci/slaterd.h
Expand Up @@ -58,7 +58,7 @@
#ifndef _psi_src_bin_detci_slaterd_h #ifndef _psi_src_bin_detci_slaterd_h
#define _psi_src_bin_detci_slaterd_h #define _psi_src_bin_detci_slaterd_h


#include <stdlib.h> #include <cstdlib>
#include <string> #include <string>


namespace psi { namespace psi {
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/dfocc/ekt.cc
Expand Up @@ -27,7 +27,7 @@
*/ */


// Latest revision on April 38, 2013. // Latest revision on April 38, 2013.
#include <stdio.h> #include <cstdio>
#include <fstream> #include <fstream>
#include <cmath> #include <cmath>
#include "ekt.h" #include "ekt.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/dfocc/tensors.cc
Expand Up @@ -27,7 +27,7 @@
*/ */


// Latest revision on April 38, 2013. // Latest revision on April 38, 2013.
#include <stdio.h> #include <cstdio>
#include <fstream> #include <fstream>
#include <cmath> #include <cmath>
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/fnocc/blas.cc
Expand Up @@ -27,7 +27,7 @@
*/ */


#include "blas.h" #include "blas.h"
#include <stdlib.h> #include <cstdlib>


#include "psi4/pragma.h" #include "psi4/pragma.h"


Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/lib3index/cholesky.cc
Expand Up @@ -32,7 +32,7 @@ PRAGMA_WARNING_IGNORE_DEPRECATED_DECLARATIONS
#include <memory> #include <memory>
PRAGMA_WARNING_POP PRAGMA_WARNING_POP
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include <math.h> #include <cmath>
#include <limits> #include <limits>
#include <vector> #include <vector>
#include "cholesky.h" #include "cholesky.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/lib3index/dftensor.cc
Expand Up @@ -37,7 +37,7 @@
#include <fstream> #include <fstream>
#include <algorithm> #include <algorithm>
#include <utility> #include <utility>
#include <ctype.h> #include <cctype>
#include "psi4/libmints/matrix.h" #include "psi4/libmints/matrix.h"
#include "psi4/libmints/mintshelper.h" #include "psi4/libmints/mintshelper.h"
#include "psi4/libmints/basisset.h" #include "psi4/libmints/basisset.h"
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/libdiis/diisentry.cc
Expand Up @@ -32,7 +32,7 @@ PRAGMA_WARNING_IGNORE_DEPRECATED_DECLARATIONS
PRAGMA_WARNING_POP PRAGMA_WARNING_POP
#include "psi4/libpsio/psio.hpp" #include "psi4/libpsio/psio.hpp"
#include "diisentry.h" #include "diisentry.h"
#include <math.h> #include <cmath>
#include "psi4/libqt/qt.h" #include "psi4/libqt/qt.h"
#include "psi4/psifiles.h" #include "psi4/psifiles.h"
#include <sstream> #include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/libdisp/dispersion.cc
Expand Up @@ -46,7 +46,7 @@


#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <stdlib.h> #include <cstdlib>
#include <string> #include <string>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
Expand Down
2 changes: 1 addition & 1 deletion psi4/src/psi4/libfilesystem/path.cc
Expand Up @@ -69,7 +69,7 @@ static int SYSTEM_TRUNCATE(const char *path, off_t length) {
#define PATH_SEPARATOR "/" #define PATH_SEPARATOR "/"
#endif #endif
#include <sys/stat.h> #include <sys/stat.h>
#include <limits.h> #include <climits>


namespace psi { namespace psi {
namespace filesystem { namespace filesystem {
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/libfock/cubature.cc
Expand Up @@ -46,8 +46,8 @@
#include <sstream> #include <sstream>
#include <cstdio> #include <cstdio>
#include <limits> #include <limits>
#include <ctype.h> #include <cctype>
#include <assert.h> #include <cassert>


#ifdef _OPENMP #ifdef _OPENMP
#include <omp.h> #include <omp.h>
Expand Down

0 comments on commit 6b5dff0

Please sign in to comment.