[llvm-commits] CVS: llvm-java/include/llvm/Java/ClassFile.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu May 20 18:52:02 PDT 2004
Changes in directory llvm-java/include/llvm/Java:
ClassFile.h updated: 1.7 -> 1.8
---
Log message:
Rename subclasses of Attribute from AttributeSomething to
SomethingAttribute.
---
Diffs of the changes: (+8 -8)
Index: llvm-java/include/llvm/Java/ClassFile.h
diff -u llvm-java/include/llvm/Java/ClassFile.h:1.7 llvm-java/include/llvm/Java/ClassFile.h:1.8
--- llvm-java/include/llvm/Java/ClassFile.h:1.7 Thu May 20 17:42:15 2004
+++ llvm-java/include/llvm/Java/ClassFile.h Thu May 20 18:50:30 2004
@@ -345,10 +345,10 @@
return a.dump(os);
}
- class AttributeConstantValue : public Attribute {
+ class ConstantValueAttribute : public Attribute {
Constant* value_;
public:
- AttributeConstantValue(ConstantUtf8* name,
+ ConstantValueAttribute(ConstantUtf8* name,
const ConstantPool& cp,
std::istream& is);
@@ -357,7 +357,7 @@
std::ostream& dump(std::ostream& os) const;
};
- class AttributeCode : public Attribute {
+ class CodeAttribute : public Attribute {
public:
class Exception {
uint16_t startPc_;
@@ -387,10 +387,10 @@
Attributes attributes_;
public:
- AttributeCode(ConstantUtf8* name,
+ CodeAttribute(ConstantUtf8* name,
const ConstantPool& cp,
std::istream& is);
- ~AttributeCode();
+ ~CodeAttribute();
uint16_t getMaxStack() const { return maxStack_; }
uint16_t getMaxLocals() const { return maxLocals_; }
const char* getCode() const { return code_; }
@@ -402,17 +402,17 @@
};
inline std::ostream& operator<<(std::ostream& os,
- const AttributeCode::Exception& e) {
+ const CodeAttribute::Exception& e) {
return e.dump(os);
}
- class AttributeExceptions : public Attribute {
+ class ExceptionsAttribute : public Attribute {
private:
ConstantUtf8* name_;
Classes exceptions_;
public:
- AttributeExceptions(ConstantUtf8* name,
+ ExceptionsAttribute(ConstantUtf8* name,
const ConstantPool& cp,
std::istream& is);
More information about the llvm-commits
mailing list