diff options
author | Dan Gohman <djg@cray.com> | 2007-09-24 15:48:49 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-09-24 15:48:49 +0000 |
commit | 26247f0a50c170fa3d0e39067893ec975981edac (patch) | |
tree | a25c95397ffb19ea81b7097634771e0d65337076 /include | |
parent | 4039bd2c5c32f52cf042336d12c8ca3680eae95b (diff) | |
download | external_llvm-26247f0a50c170fa3d0e39067893ec975981edac.zip external_llvm-26247f0a50c170fa3d0e39067893ec975981edac.tar.gz external_llvm-26247f0a50c170fa3d0e39067893ec975981edac.tar.bz2 |
explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index bb79c19..3346c95 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -161,7 +161,7 @@ private: public: AnchorDesc(); - AnchorDesc(AnchoredDesc *D); + explicit AnchorDesc(AnchoredDesc *D); // Accessors unsigned getAnchorTag() const { return AnchorTag; } @@ -201,7 +201,7 @@ private: protected: - AnchoredDesc(unsigned T); + explicit AnchoredDesc(unsigned T); public: // Accessors. @@ -291,7 +291,7 @@ private: unsigned Flags; // Miscellaneous flags. public: - TypeDesc(unsigned T); + explicit TypeDesc(unsigned T); // Accessors DebugInfoDesc *getContext() const { return Context; } @@ -382,7 +382,7 @@ private: DebugInfoDesc *FromType; // Type derived from. public: - DerivedTypeDesc(unsigned T); + explicit DerivedTypeDesc(unsigned T); // Accessors TypeDesc *getFromType() const { @@ -421,7 +421,7 @@ private: std::vector<DebugInfoDesc *> Elements;// Information used to compose type. public: - CompositeTypeDesc(unsigned T); + explicit CompositeTypeDesc(unsigned T); // Accessors std::vector<DebugInfoDesc *> &getElements() { return Elements; } @@ -536,7 +536,7 @@ private: DebugInfoDesc *TyDesc; // Type of variable. public: - VariableDesc(unsigned T); + explicit VariableDesc(unsigned T); // Accessors DebugInfoDesc *getContext() const { return Context; } @@ -595,7 +595,7 @@ private: bool IsDefinition; // Is the global defined in context. protected: - GlobalDesc(unsigned T); + explicit GlobalDesc(unsigned T); public: // Accessors @@ -962,7 +962,7 @@ struct LandingPadInfo { Function *Personality; // Personality function. std::vector<int> TypeIds; // List of type ids (filters negative) - LandingPadInfo(MachineBasicBlock *MBB) + explicit LandingPadInfo(MachineBasicBlock *MBB) : LandingPadBlock(MBB) , LandingPadLabel(0) , Personality(NULL) |