summaryrefslogtreecommitdiffstats
path: root/test/input
Commit message (Collapse)AuthorAgeFilesLines
...
* Output: Map Paren type to the inner typeBrad King2014-03-211-0/+1
|
* test: Add case for a Variable as Class memberBrad King2014-03-211-0/+3
|
* Output: Generate Field elementsBrad King2014-03-211-0/+5
| | | | | | Implement the OutputFieldDecl method to generate the Field element. Report the name="", type="", bits="", mutable="", context="", and location="" of the declaration. Queue the type.
* Output: Generate function template instantiations and specializationsBrad King2014-03-211-0/+3
| | | | | | | Teach the AddStartDecl and PrintMembersAttribute methods to queue function template instantiations and specializations for output using an AddFunctionTemplateDecl helper to share common implementation. Map the Clang SubstTemplateTypeParm type to its replacement type.
* test: Add cases for Method, OperatorMethod, and OperatorFunctionBrad King2014-03-213-0/+10
| | | | | Use operator name "<<" and verify that the word "operator" does not appear in the name as is the case in original gccxml.
* Output: Follow qualified type namesBrad King2014-03-211-0/+2
|
* Output: Desugar template specialization typesBrad King2014-03-211-0/+2
| | | | Replace them with the underlying type.
* Output: Generate class template instantiations and specializationsBrad King2014-03-211-0/+5
| | | | | | | | | | | | | Teach the AddStartDecl and PrintMembersAttribute methods to queue class template instantiations and specializations for output using an AddClassTemplateDecl helper to share common implementation. Implement the OutputClassTemplateSpecializationDecl method to forward to the OutputCXXRecordDecl method. Teach the underlying OutputRecordDecl implementation to use a new PrintNameAttribute overload that extracts the full name from a NamedDecl so that template arguments are included in the class template specialization name.
* Restrict --castxml-gccxml to C++98 and C89 modesBrad King2014-03-214-0/+0
| | | | | | | The gccxml output format was designed for C++98 and does not support constructs in C++11 or other newer language standards. Reject such combinations up front. An alternative output format will be needed for such interfaces.
* Output: Generate Function and related elementsBrad King2014-03-212-0/+2
| | | | | | | | | | | | | | Implement the OutputFunctionDecl, OutputCXXMethodDecl, OutputCXXConversionDecl, OutputCXXConstructorDecl, and OutputCXXDestructorDecl methods to generate these elements. Report the name="", returns="", context="", and location="" of the function declaration. Also add static="1", explicit="1", const="1", virtual="1", inline="1", extern="1", and artificial="1" (compiler generated), and throws="..." as appropriate. Inside the function element generate Argument elements describing the function parameters. For each argument report the name="", type="", and location="". Queue the argument types.
* Output: Generate Variable elementsBrad King2014-03-211-0/+1
| | | | | | | Implement the OutputVarDecl method to generate the Variable element. Report the name="", type="", context="", location="", and storage class (static="1" or extern="1") of the declaration. Queue the type.
* Output: Generate ArrayType elementsBrad King2014-03-212-0/+2
| | | | | | Implement the OutputConstantArrayType and OutputIncompleteArrayType methods to generate the ArrayType element. Report the min="", max="", and type="" of the array elements and queue the type.
* Output: Generate ReferenceType elementsBrad King2014-03-211-0/+1
| | | | | | Implement the OutputLValueReferenceType method to generate the RefernceType element. Report the type="" of the pointee and queue it.
* Output: Generate PointerType elementsBrad King2014-03-211-0/+1
| | | | | Implement the OutputPointerType method to generate the PointerType element. Report the type="" of the pointee and queue it.
* Output: Generate Class, Struct, and Union elementsBrad King2014-03-212-0/+2
| | | | | | | | | Implement the OutputRecordDecl and OutputCXXRecordDecl methods to generate Class, Struct, and Union elements. Report the name="", context="", location="", incomplete="", and members="" of the declaration. Queue its members. Also map record types to the corresponding declarations.
* Output: Generate CvQualifiedType elementsBrad King2014-03-211-0/+1
| | | | | | | | Implement the OutputCvQualifiedType method to generate an element whose ID attribute id="" is that of an unqualified type plus 'c', 'v', or 'r' letters appended to indicate qualification. Reference the IDREF of the unqualified type in a type="" attribute and describe the qualifiers with const="1", volatile="1", and restrict="1" attributes as appropriate.
* Output: Generate FundamentalType elementsBrad King2014-03-211-0/+1
| | | | | Implement the OutputBuiltinType method to generate the FundamentalType element. Report the name="" of the type.
* Output: Generate declared Namespace elementsBrad King2014-03-211-0/+1
Implement the OutputNamespaceDecl method to generate a Namespace element for explicitly declared namespaces. Report the name="", context="", and members="" of the namespace. Queue its members.