• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / sdfglib / 16069945621

04 Jul 2025 08:56AM UTC coverage: 64.375% (-0.2%) from 64.606%
16069945621

push

github

web-flow
Merge pull request #137 from daisytuner/clang-format

runs clang-format on codebase

609 of 827 new or added lines in 63 files covered. (73.64%)

46 existing lines in 30 files now uncovered.

8578 of 13325 relevant lines covered (64.38%)

177.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.25
/src/types/pointer.cpp
1
#include "sdfg/types/pointer.h"
2

3
namespace sdfg {
4
namespace types {
5

6
Pointer::Pointer(const IType& pointee_type) : pointee_type_(pointee_type.clone()) {};
149✔
7

8
Pointer::Pointer(StorageType storage_type, size_t alignment, const std::string& initializer, const IType& pointee_type)
214✔
9
    : IType(storage_type, alignment, initializer), pointee_type_(pointee_type.clone()) {};
214✔
10

11
std::unique_ptr<IType> Pointer::clone() const {
211✔
12
    return std::make_unique<Pointer>(this->storage_type(), this->alignment(), this->initializer(), *this->pointee_type_);
211✔
UNCOV
13
};
×
14

15
TypeID Pointer::type_id() const { return TypeID::Pointer; };
8✔
16

17
PrimitiveType Pointer::primitive_type() const { return this->pointee_type_->primitive_type(); };
5✔
18

19
bool Pointer::is_symbol() const { return true; };
148✔
20

21
const IType& Pointer::pointee_type() const { return *this->pointee_type_; };
319✔
22

23
bool Pointer::operator==(const IType& other) const {
4✔
24
    if (auto pointer_type = dynamic_cast<const Pointer*>(&other)) {
4✔
25
        return *(this->pointee_type_) == *pointer_type->pointee_type_;
4✔
26
    } else {
27
        return false;
×
28
    }
29
};
4✔
30

31
std::string Pointer::print() const { return "Pointer(" + this->pointee_type_->print() + ")"; };
×
32

33
} // namespace types
34
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc