
linked against a debug LLVM, runs a variety of functions -- currently just one -- that verify that the Decls we create are valid. ClangASTContext now calls this verifier whenever it adds a Decl to a DeclContext, and the verifier checks that the AccessSpecifier is sane. llvm-svn: 143000
17 lines
488 B
C++
17 lines
488 B
C++
//===-- VerifyDecl.cpp ------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "lldb/Symbol/VerifyDecl.h"
|
|
#include "clang/AST/DeclBase.h"
|
|
|
|
void lldb_private::VerifyDecl (clang::Decl *decl)
|
|
{
|
|
decl->getAccess();
|
|
}
|