summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-18 20:19:26 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-18 20:19:26 +0000
commita76762c9fb5fd6646e9b4f1f0ea4fc9b7ad892ff (patch)
tree4a37582860716d2f0a24536c4e630fbff1bbfe29 /clang/lib
parentf324fa709549aa6cb1a4aecb1fdfeea61b706142 (diff)
downloadbcm5719-llvm-a76762c9fb5fd6646e9b4f1f0ea4fc9b7ad892ff.tar.gz
bcm5719-llvm-a76762c9fb5fd6646e9b4f1f0ea4fc9b7ad892ff.zip
Driver: Make local type name more distinct.
llvm-svn: 89233
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/Types.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Driver/Types.cpp b/clang/lib/Driver/Types.cpp
index 30893e7cc0c..750286b66c9 100644
--- a/clang/lib/Driver/Types.cpp
+++ b/clang/lib/Driver/Types.cpp
@@ -16,14 +16,14 @@
using namespace clang::driver;
using namespace clang::driver::types;
-struct Info {
+struct TypeInfo {
const char *Name;
const char *Flags;
const char *TempSuffix;
ID PreprocessedType;
};
-static Info TypeInfos[] = {
+static TypeInfo TypeInfos[] = {
#define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS) \
{ NAME, FLAGS, TEMP_SUFFIX, TY_##PP_TYPE, },
#include "clang/Driver/Types.def"
@@ -31,7 +31,7 @@ static Info TypeInfos[] = {
};
static const unsigned numTypes = sizeof(TypeInfos) / sizeof(TypeInfos[0]);
-static Info &getInfo(unsigned id) {
+static TypeInfo &getInfo(unsigned id) {
assert(id > 0 && id - 1 < numTypes && "Invalid Type ID.");
return TypeInfos[id - 1];
}
OpenPOWER on IntegriCloud