OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [20080625-1.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
extern "C" {
2
    typedef unsigned char sal_Bool;
3
    typedef struct _rtl_uString {
4
    } rtl_uString;
5
    void rtl_uString_release( rtl_uString * str ) throw ();
6
}
7
class OUString {
8
    rtl_uString * pData;
9
public:
10
    OUString() {}
11
    ~OUString() {
12
        rtl_uString_release( pData );
13
    }
14
    sal_Bool equalsIgnoreAsciiCase( const OUString & str ) const;
15
};
16
bool findAndRemove();
17
long getAttributeProps()
18
{
19
    long nAttrs = 0;
20
    OUString aValue;
21
    if (findAndRemove()
22
        && aValue.equalsIgnoreAsciiCase(OUString()))
23
        ;
24
    else
25
        nAttrs |= 1;
26
    return nAttrs;
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.