llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp

#include "Calculator.h"

int Calculator::add(int a, int b) {
    return a + b;
}

int Calculator::subtract(int a, int b) {
    return a - b;
}

int Calculator::multiply(int a, int b) {
    return a * b;
}

double Calculator::divide(int a, int b) {
    return static_cast<double>(a) / b;
}