default: llvm_unreachable("Declaration not in DeclNodes.inc!")::llvm::llvm_unreachable_internal("Declaration not in DeclNodes.inc!", "/build/llvm-toolchain-snapshot-7~svn329611/tools/clang/lib/AST/DeclBase.cpp", 125);

// Defensive maneuver for ill-formed code: we're likely not to make it to

141

// a point where we set the access specifier, so default it to "public"

142

// to avoid triggering asserts elsewhere in the front end.

143

setAccess(AS_public);

144

}

145

146

// Marking a DecompositionDecl as invalid implies all the child BindingDecl's

147

// are invalid too.

148

if (DecompositionDecl *DD = dyn_cast<DecompositionDecl>(this)) {

149

for (BindingDecl *Binding : DD->bindings()) {

150

Binding->setInvalidDecl();

151

}

152

}

153

}

154

155

constchar *DeclContext::getDeclKindName() const {

156

switch (DeclKind) {

157

default: llvm_unreachable("Declaration context not in DeclNodes.inc!")::llvm::llvm_unreachable_internal("Declaration context not in DeclNodes.inc!", "/build/llvm-toolchain-snapshot-7~svn329611/tools/clang/lib/AST/DeclBase.cpp", 157);