/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_IDLC_INC_ASTSEQUENCE_HXX #define INCLUDED_IDLC_INC_ASTSEQUENCE_HXX #include "asttype.hxx" class AstSequence : public AstType { public: AstSequence(AstType const * pMemberType, AstScope* pScope) : AstType(NT_sequence, OString("[]")+pMemberType->getScopedName(), pScope) , m_pMemberType(pMemberType) , m_pRelativName(nullptr) {} virtual ~AstSequence() override { if ( m_pRelativName ) delete m_pRelativName; } AstType const * getMemberType() const { return m_pMemberType; } virtual bool isUnsigned() const override { return m_pMemberType != nullptr && m_pMemberType->isUnsigned(); } virtual const sal_Char* getRelativName() const override; private: AstType const * m_pMemberType; mutable OString* m_pRelativName; }; #endif // INCLUDED_IDLC_INC_ASTSEQUENCE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/cib/libreoffice-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unotest/source/cpp
AgeCommit message (Expand)Author
2014-11-19tweak the assert message so its readable when an errors happensCaolán McNamara
2014-11-05markup with event type not checker typeCaolán McNamara
2014-10-30document array_vs_singleton dismissalsCaolán McNamara
2014-10-01fdo#82577: Handle TimeNoel Grandin
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
2014-06-13loplugin:staticcallStephan Bergmann
2014-05-29Detach all DocBasicItem objects upon process termination.Kohei Yoshida
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
2014-04-12macros_test: use "css" short formTomaž Vajngerl
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-02-26Remove visual noise from unotestAlexander Wilms
2014-01-28bool improvementsStephan Bergmann
2014-01-17test::BootstrapFixtureBase::getPathFromWorkdir not unusedMichael Stahl
2014-01-17removed some unused code (svx, svtools, unotest)Petr Vorel
2013-12-17test::FiltersTest: add support for export testsMiklos Vajna
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
2013-12-13fixes for previous commitMarkus Mohrhard
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
2013-11-09fail early and hardLionel Elie Mamane
2013-11-05fixincludeguards.sh: uno*Thomas Arnhold
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
2013-10-31solver doesn't solve anything...Michael Stahl
2013-10-29gbuild: move unittest mock profile to WORKDIRMichael Stahl
2013-10-22Improve test assertionStephan Bergmann
2013-09-27Can use CppUnit assert functionality hereStephan Bergmann
2013-09-27Fix URL creationStephan Bergmann
2013-09-27getURLFromWorkdir should actually return a URLStephan Bergmann
2013-09-27unittest for fdo#67685Lionel Elie Mamane
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
2013-07-01unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdirMichael Stahl
2013-07-01Remove unused codePetr Vorel
2013-06-29remove some createFromAscii usageThomas Arnhold
2013-04-24move sal_inc headers to include/David Tardon
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks