mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-21 09:20:38 +00:00
cb764d3cdf
* include/abg-hash.h (combine_hashes): Remove trailing white spaces. * include/abg-ir.h (class function_decl): Add end-of-class comment. (struct type_base::cached_hash): Fix comment. * src/abg-comparison.cc: Remove useless new line. * src/abg-corpus.cc: Likewise. * src/abg-writer.cc: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
// -*- mode: C++ -*-
|
|
//
|
|
// Copyright (C) 2013 Red Hat, Inc.
|
|
//
|
|
// This file is part of the GNU Application Binary Interface Generic
|
|
// Analysis and Instrumentation Library (libabigail). This library is
|
|
// free software; you can redistribute it and/or modify it under the
|
|
// terms of the GNU Lesser General Public License as published by the
|
|
// Free Software Foundation; either version 3, or (at your option) any
|
|
// later version.
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// General Lesser Public License for more details.
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
// License along with this program; see the file COPYING-LGPLV3. If
|
|
// not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/// @file
|
|
|
|
#ifndef __ABG_HASH_H__
|
|
#define __ABG_HASH_H__
|
|
|
|
#include <cstddef>
|
|
|
|
namespace abigail
|
|
{
|
|
/// Namespace for hashing.
|
|
namespace hashing
|
|
{
|
|
/// Produce good hash value combining val1 and val2.
|
|
/// This is copied from tree.c in GCC.
|
|
std::size_t
|
|
combine_hashes(std::size_t, std::size_t);
|
|
}//end namespace hashing
|
|
}//end namespace abigail
|
|
|
|
#endif //__ABG_HASH_H__
|