Remove unimplemented shouldIgnore from IncrementalParser. (#545)

The function implementation was moved to a static function in
the DeclCollector in commit 858120920f51a3ea8f689d19f2a2fa1cc3981eb1
about 'Emit Decls as DeclCollector sees them'.
This commit is contained in:
Raphael Isemann 2017-05-03 11:39:19 +02:00 committed by sftnight
parent b9dbe1614f
commit b2ed65dbbf
2 changed files with 5 additions and 7 deletions

View File

@ -22,6 +22,11 @@
using namespace clang;
namespace {
///\brief Return true if this decl (which comes from an AST file) should
/// not be sent to CodeGen. The module is assumed to describe the contents
/// of a library; symbols inside the library must thus not be reemitted /
/// duplicated by CodeGen.
///
static bool shouldIgnore(const Decl* D) {
// This function is called for all "deserialized" decls, where the
// "deserialized" decl either really comes from an AST file or from

View File

@ -229,13 +229,6 @@ namespace cling {
///
EParseResult ParseInternal(llvm::StringRef input);
///\brief Return true if this decl (which comes from an AST file) should
/// not be sent to CodeGen. The module is assumed to describe the contents
/// of a library; symbols inside the library must thus not be reemitted /
/// duplicated by CodeGen.
///
bool shouldIgnore(const clang::Decl* D) const;
};
} // end namespace cling
#endif // CLING_INCREMENTAL_PARSER_H