예제 #1
0
DiagnosticSet &DiagnosticSet::operator=(DiagnosticSet &&other)
{
    if (this != &other) {
        clang_disposeDiagnosticSet(cxDiagnosticSet);
        cxDiagnosticSet = std::move(other.cxDiagnosticSet);
        other.cxDiagnosticSet = nullptr;
    }

    return *this;
}
예제 #2
0
파일: clang++.cpp 프로젝트: mythagel/cxxide
diagnostic_set::~diagnostic_set()
{
    if(set) clang_disposeDiagnosticSet(set);
}
예제 #3
0
DiagnosticSet::~DiagnosticSet()
{
    clang_disposeDiagnosticSet(cxDiagnosticSet);
}