summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-10 18:46:52 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-10 18:46:52 +0000
commitb8a4ed6543b36db4293ad97cbb2c5b7047ef0a17 (patch)
tree1637c478e40a5fd6553ccf6c84f58a4601098365 /llvm
parentcc31fddf134493d7046c88ea46baf4975eb77378 (diff)
downloadbcm5719-llvm-b8a4ed6543b36db4293ad97cbb2c5b7047ef0a17.tar.gz
bcm5719-llvm-b8a4ed6543b36db4293ad97cbb2c5b7047ef0a17.zip
Include <cstdio> instead of <stdio.h>.
llvm-svn: 9032
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.burg.in2
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp2
-rw-r--r--llvm/runtime/GCCLibraries/crtend/C++-Exception.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.burg.in b/llvm/lib/Target/Sparc/Sparc.burg.in
index 6c3b659199c..ccb39480cc6 100644
--- a/llvm/lib/Target/Sparc/Sparc.burg.in
+++ b/llvm/lib/Target/Sparc/Sparc.burg.in
@@ -1,5 +1,5 @@
%{ // -*- C++ -*-
-Xinclude <stdio.h>
+Xinclude <cstdio>
Xinclude <llvm/CodeGen/InstrForest.h>
typedef InstrTreeNode* NODEPTR_TYPE;
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 9401afec0d0..df2b764e7c8 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -34,7 +34,7 @@
#include "llvm/Module.h"
#include "Graph.h"
#include <fstream>
-#include "Config/stdio.h"
+#include <cstdio>
struct ProfilePaths : public FunctionPass {
bool runOnFunction(Function &F);
diff --git a/llvm/runtime/GCCLibraries/crtend/C++-Exception.cpp b/llvm/runtime/GCCLibraries/crtend/C++-Exception.cpp
index b521f1464c6..ad9f7a53e51 100644
--- a/llvm/runtime/GCCLibraries/crtend/C++-Exception.cpp
+++ b/llvm/runtime/GCCLibraries/crtend/C++-Exception.cpp
@@ -14,7 +14,7 @@
//#define DEBUG
#ifdef DEBUG
-#include <stdio.h>
+#include <cstdio>
#endif
// LastCaughtException - The last exception caught by this handler. This is for
OpenPOWER on IntegriCloud