/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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/. */ #include #include void f(int*); int g(); void h(int n) { f(&o3tl::temporary(int())); f(&o3tl::temporary(g())); f(&o3tl::temporary(n)); // expected-error {{}} expected-note@o3tl/temporary.hxx:* 0+ {{}} } /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ /> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-09-26Rename the basegfx::tools namespace to basegfx::utilsTor Lillqvist
2017-04-28Make some basegfx operator << found by ADLStephan Bergmann
2017-03-03Fix typosAndrea Gelmini
2017-03-01ofz: timeout loading emf with move clip recordCaolán McNamara
2017-01-31more SAL_WARN_UNUSEDNoel Grandin
2016-04-10tdf#99176: Fix redundant conditionJulien Nabet
2016-02-09Remove excess newlinesChris Sherlock
2016-01-21loplugin: unused return valuesNoel Grandin
2015-10-27loplugin:unusedmethodsNoel Grandin
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-07-24loplugin:unusedmethodsNoel Grandin
2015-07-06loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
2015-07-03Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl
2015-07-03loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
2015-06-02Replaced boost::tuple with std::tupleZsolt Bölöny
2015-06-01Remove B1IRange, it's not used anywhereZsolt Bölöny
2015-06-01Remove B1IBox, it's not used anywhereZsolt Bölöny
2015-05-27Remove B3IRange, it's not used anywhereZsolt Bölöny
2015-05-26Remove B3I64Tuple, it's not used by anythingZsolt Bölöny
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
2015-03-13V803 decreased performance postfix incrementMichael Stahl
2015-02-07loplugin:deletedspecialStephan Bergmann
2015-01-15Silence bogus GCC 4.9 -Werror=strict-overflowStephan Bergmann
2014-03-01Remove visual noise from includeAlexander Wilms