forked from OSchip/llvm-project
parent
51d1929b9e
commit
83763f2c40
|
@ -33,7 +33,7 @@ static unsigned nIvarDecls = 0;
|
|||
|
||||
static bool StatSwitch = false;
|
||||
|
||||
const char *Decl::getDeclKindName() {
|
||||
const char *Decl::getDeclKindName() const {
|
||||
switch (DeclKind) {
|
||||
default: assert(0 && "Unknown decl kind!");
|
||||
case Typedef:
|
||||
|
|
|
@ -69,7 +69,7 @@ protected:
|
|||
public:
|
||||
|
||||
Kind getKind() const { return DeclKind; }
|
||||
const char *getDeclKindName();
|
||||
const char *getDeclKindName() const;
|
||||
|
||||
/// setInvalidDecl - Indicates the Decl had a semantic error. This
|
||||
/// allows for graceful error recovery.
|
||||
|
|
Loading…
Reference in New Issue