summaryrefslogtreecommitdiff
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
commit17634f7668f275d3c3ac97d4b476443b2528648d (patch)
tree349b2a6dc315dd1830cf2f18f7a5043f55f027e6
parente24b616faa7fc4242f807669d502a544e9b042fd (diff)
downloadllvm-17634f7668f275d3c3ac97d4b476443b2528648d.tar.gz
llvm-17634f7668f275d3c3ac97d4b476443b2528648d.tar.bz2
llvm-17634f7668f275d3c3ac97d4b476443b2528648d.tar.xz
Include <cstdio> instead of <stdio.h>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9032 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9.burg.in2
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp2
-rw-r--r--runtime/GCCLibraries/crtend/C++-Exception.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9.burg.in b/lib/Target/SparcV9/SparcV9.burg.in
index 6c3b659199..ccb39480cc 100644
--- a/lib/Target/SparcV9/SparcV9.burg.in
+++ b/lib/Target/SparcV9/SparcV9.burg.in
@@ -1,5 +1,5 @@
%{ // -*- C++ -*-
-Xinclude <stdio.h>
+Xinclude <cstdio>
Xinclude <llvm/CodeGen/InstrForest.h>
typedef InstrTreeNode* NODEPTR_TYPE;
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 9401afec0d..df2b764e7c 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/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/runtime/GCCLibraries/crtend/C++-Exception.cpp b/runtime/GCCLibraries/crtend/C++-Exception.cpp
index b521f1464c..ad9f7a53e5 100644
--- a/runtime/GCCLibraries/crtend/C++-Exception.cpp
+++ b/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