aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-10-28 21:21:25 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-10-28 21:21:25 +0000
commit5826160c7de983052c54c711f375fe8982ce9dcb (patch)
tree3278eed0187fb516faf9c77a194a92bd9cd81edc /include
parentffcaa7bb00cb4b6e016f8c110f890edb97981576 (diff)
downloadexternal_llvm-5826160c7de983052c54c711f375fe8982ce9dcb.zip
external_llvm-5826160c7de983052c54c711f375fe8982ce9dcb.tar.gz
external_llvm-5826160c7de983052c54c711f375fe8982ce9dcb.tar.bz2
Switch useLLVMSyntax to useCSyntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ConstPoolVals.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h
index 9a3b079..ea0a3cd 100644
--- a/include/llvm/ConstPoolVals.h
+++ b/include/llvm/ConstPoolVals.h
@@ -38,7 +38,7 @@ public:
// Specialize setName to handle symbol table majik...
virtual void setName(const string &name, SymbolTable *ST = 0);
- virtual string getStrValue(bool useLLVMSyntax = true) const = 0;
+ virtual string getStrValue(bool useCSyntax = false) const = 0;
// Static constructor to get a '0' constant of arbitrary type...
static ConstPoolVal *getNullConstant(const Type *Ty);
@@ -74,7 +74,7 @@ public:
// inverted - Return the opposite value of the current value.
inline ConstPoolBool *inverted() const { return (this==True) ? False : True; }
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
inline bool getValue() const { return Val; }
// Methods for support type inquiry through isa, cast, and dyn_cast:
@@ -137,7 +137,7 @@ protected:
public:
static ConstPoolSInt *get(const Type *Ty, int64_t V);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
static bool isValueValidForType(const Type *Ty, int64_t V);
inline int64_t getValue() const { return Val.Signed; }
@@ -161,7 +161,7 @@ protected:
public:
static ConstPoolUInt *get(const Type *Ty, uint64_t V);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
static bool isValueValidForType(const Type *Ty, uint64_t V);
inline uint64_t getValue() const { return Val.Unsigned; }
@@ -187,7 +187,7 @@ protected:
public:
static ConstPoolFP *get(const Type *Ty, double V);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
static bool isValueValidForType(const Type *Ty, double V);
inline double getValue() const { return Val; }
@@ -215,7 +215,7 @@ public:
static ConstPoolArray *get(const ArrayType *T, const vector<ConstPoolVal*> &);
static ConstPoolArray *get(const string &Initializer);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
// Treat the array as a string if it is an array of ubytes or non-neg sbytes
bool isString() const;
@@ -245,7 +245,7 @@ public:
static ConstPoolStruct *get(const StructType *T,
const vector<ConstPoolVal*> &V);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
inline const vector<Use> &getValues() const { return Operands; }
@@ -271,7 +271,7 @@ protected:
inline ConstPoolPointer(const PointerType *T) : ConstPoolVal((const Type*)T){}
~ConstPoolPointer() {}
public:
- virtual string getStrValue(bool useLLVMSyntax = true) const = 0;
+ virtual string getStrValue(bool useCSyntax = false) const = 0;
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const ConstPoolPointer *) { return true; }
@@ -289,7 +289,7 @@ protected:
inline ConstPoolPointerNull(const PointerType *T) : ConstPoolPointer(T) {}
inline ~ConstPoolPointerNull() {}
public:
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
static ConstPoolPointerNull *get(const PointerType *T);
@@ -322,7 +322,7 @@ protected:
public:
static ConstPoolPointerRef *get(GlobalValue *GV);
- virtual string getStrValue(bool useLLVMSyntax = true) const;
+ virtual string getStrValue(bool useCSyntax = false) const;
const GlobalValue *getValue() const {
return cast<GlobalValue>(Operands[0].get());