mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
fix indentation in cpp table
This commit is contained in:
@@ -44,7 +44,7 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| | ``void`` *func* ``(`` *T* ``param);`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``int`` *func* ``(const char*`` *format* ``, ...)`` | FormattingFunction_ | |
|
||||
| | ``{`` ... ``}`` | | |
|
||||
| | ``{`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| *func* ``< int, float > (`` ... ``);`` | FunctionTemplateInstantiation_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -52,10 +52,10 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| | *func* ``< int,`` *T* ``> (`` ... ``) {`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | MemberFunction_ | |
|
||||
| | ``int`` *func* ``( float`` *param* ``);`` ... ``};`` | | |
|
||||
| | ``int`` *func* ``( float`` *param* ``);`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | ConstMemberFunction_ | |
|
||||
| | ``int`` *func* ``( float`` *param* ``) const;`` ... ``};`` | | |
|
||||
| | ``int`` *func* ``( float`` *param* ``) const;`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``class`` *C* ``{`` ... ``virtual int`` *func* ``(`` ... ``) {`` ... ``} };`` | VirtualFunction_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -66,7 +66,7 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| ``class`` *C* ``{`` ... ``~`` *C* ``( void ) {`` ... ``}`` ... ``};`` | Destructor_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | ConversionConstructor_ | |
|
||||
| | *C* ``( const`` *D* ``&`` *d* ``) {`` ... ``}`` ... ``};`` | | |
|
||||
| | *C* ``( const`` *D* ``&`` *d* ``) {`` ... ``}`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| *C* ``&`` *C* ``:: operator= (const`` *C* ``& );`` | CopyAssignmentOperator_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -84,15 +84,15 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| | ``friend class`` *B* ``;`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``int`` *func* ``( void ) {`` ... | LocalEnum_ | |
|
||||
| | ``enum`` *en* ``{`` *val1* ``,`` *val2* ... ``};`` ... ``}`` | | |
|
||||
| | ``enum`` *en* ``{`` *val1* ``,`` *val2* ... ``};`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | NestedEnum_ | |
|
||||
| | ``enum`` *en* ``{`` *val1* ``,`` *val2* ... ``}`` ... ``}`` | | |
|
||||
| | ``enum`` *en* ``{`` *val1* ``,`` *val2* ... ``}`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``enum class`` *en* ``: short {`` *val1* ``,`` *val2* ... ``}`` | ScopedEnum_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | AbstractClass_ | |
|
||||
| | ``virtual void`` *func* ``( int ) = 0;`` ... ``};`` | | |
|
||||
| | ``virtual void`` *func* ``( int ) = 0;`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``template < int , float > class`` *C* ``{`` ... ``};`` | ClassTemplateInstantiation_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -106,25 +106,25 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| ``class`` *C* ``{`` ... ``class`` *D* ``{`` ... ``};`` ... ``};`` | NestedClass_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` | Class_ | |
|
||||
| | Type_ *var* ``;`` | | |
|
||||
| | Type_ *func* ``(`` Parameter_... ``) {`` ... ``}``... ``};`` | | |
|
||||
| | Type_ *var* ``;`` | | |
|
||||
| | Type_ *func* ``(`` Parameter_... ``) {`` ... ``}``... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``struct`` *S* ``{`` ... | | Struct_ | |
|
||||
| | Type_ *var* ``;`` | | Class_ | |
|
||||
| | Type_ *func* ``(`` Parameter_... ``) {`` ... ``}``... ``};`` | | | |
|
||||
| | Type_ *var* ``;`` | | Class_ | |
|
||||
| | Type_ *func* ``(`` Parameter_... ``) {`` ... ``}``... ``};`` | | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``union`` *U* ``{`` | | Union_ | |
|
||||
| | Type_ *var1* ``;`` | | Struct_ | |
|
||||
| | Type_ *var2* ``;`` ... ``};`` | | Class_ | |
|
||||
| | Type_ *var1* ``;`` | | Struct_ | |
|
||||
| | Type_ *var2* ``;`` ... ``};`` | | Class_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``template < typename`` *T* ``>`` | ProxyClass_ | Appears only in *uninstantiated* |
|
||||
| | ``struct`` *C* ``:`` *T* ``{`` ... ``};`` | | templates |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``int`` *func* ``( void ) {`` ... | LocalStruct_ | |
|
||||
| | ``struct`` *S* ``{`` ... ``};`` ... ``}`` | | |
|
||||
| | ``struct`` *S* ``{`` ... ``};`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | NestedStruct_ | |
|
||||
| | ``struct`` *S* ``{`` ... ``};`` ... ``};`` | | |
|
||||
| | ``struct`` *S* ``{`` ... ``};`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``int *`` *func* ``( void ) {`` ... ``union`` *U* ``{`` ... ``};`` ... ``}`` | LocalUnion_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -133,17 +133,17 @@ This table lists Declaration_ classes representing C/C++ declarations.
|
||||
| ``typedef int`` *T* ``;`` | TypedefType_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``int`` *func* ``( void ) {`` ... | LocalTypedefType_ | |
|
||||
| | ``typedef int`` *T* ``;`` ... ``}`` | | |
|
||||
| | ``typedef int`` *T* ``;`` ... ``}`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``class`` *C* ``{`` ... | NestedTypedefType_ | |
|
||||
| | ``typedef int`` *T* ``;`` ... ``};`` | | |
|
||||
| | ``typedef int`` *T* ``;`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``class`` *V* ``:`` ... ``public`` *B* ... ``{`` ... ``};`` | ClassDerivation_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``class`` *V* ``:`` ... ``virtual`` *B* ... ``{`` ... ``};`` | VirtualClassDerivation_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| | ``template < typename`` *T* ``>`` | TemplateClass_ | |
|
||||
| | ``class`` *C* ``{`` ... ``};`` | | |
|
||||
| | ``class`` *C* ``{`` ... ``};`` | | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
| ``int`` *foo* ``(`` Type_ *param1* ``,`` Type_ *param2* ... ``);`` | Parameter_ | |
|
||||
+-------------------------------------------------------------------------------+--------------------------------------+-------------------------------------+
|
||||
@@ -195,7 +195,7 @@ This table lists subclasses of Stmt_ representing C/C++ statements.
|
||||
| ``try {`` Stmt_... ``}`` CatchBlock_... CatchAnyBlock_ | TryStmt_ | |
|
||||
+----------------------------------------------------------+--------------------------------+---------------------------------------------------+
|
||||
| | ``void`` *func* ``(void) try {`` Stmt_... ``}`` | FunctionTryStmt_ | |
|
||||
| | CatchBlock_... CatchAnyBlock_ | | |
|
||||
| | CatchBlock_... CatchAnyBlock_ | | |
|
||||
+----------------------------------------------------------+--------------------------------+---------------------------------------------------+
|
||||
| ``;`` | EmptyStmt_ | |
|
||||
+----------------------------------------------------------+--------------------------------+---------------------------------------------------+
|
||||
@@ -256,15 +256,15 @@ This table lists subclasses of Expr_ representing C/C++ expressions.
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| | ``template < typename...`` *T* ``>`` | FoldExpr_ | Appears only in *uninstantiated* |
|
||||
| | ``auto`` *sum* ``(`` *T* `...` *t* ``)`` | | templates |
|
||||
| | ``{ return (`` *t* ``+ ... + 0 ); }`` | | |
|
||||
| | ``{ return (`` *t* ``+ ... + 0 ); }`` | | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| ``int`` *func* ``(`` *format* ``, ... );`` | FormattingFunctionCall_ | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| | ``[ = ] ( float`` *b* ``) -> float`` | LambdaExpression_ | C++11 |
|
||||
| | ``{ return`` *captured* ``*`` *b* ``; }`` | | |
|
||||
| | ``{ return`` *captured* ``*`` *b* ``; }`` | | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| | ``^ int ( int`` *x* ``, int`` *y* ``) {`` | BlockExpr_ | Apple extension |
|
||||
| | ``{`` Stmt_... ``; return`` *x* ``+`` *y* ``; }`` | | |
|
||||
| | ``{`` Stmt_... ``; return`` *x* ``+`` *y* ``; }``| | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| ``void *`` *labelptr* ``= &&`` *label* ``;`` | LabelLiteral_ | GNU extension; use with ComputedGotoStmt_ |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
@@ -389,8 +389,9 @@ This table lists subclasses of Expr_ representing C/C++ expressions.
|
||||
| ``!`` Expr_ | NotExpr_ | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| | ``int`` *vect* ``__attribute__`` | VectorFillOperation_ | GNU extension |
|
||||
| | ``( ( vector_size (`` *16* ``) ) )`` | | |
|
||||
| | ``= {`` *3* ``,`` *8* ``,`` *32* ``,`` *33* ``};`` | | |
|
||||
| | ``( ( vector_size (`` *16* ``) ) )`` | | |
|
||||
| | ``= {`` *3* ``,`` *8* ``,`` *32* ``,`` | | |
|
||||
| *33* ``};`` | | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| ``sizeof (`` Expr_ ``)`` | SizeofExprOperator_ | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
@@ -398,7 +399,7 @@ This table lists subclasses of Expr_ representing C/C++ expressions.
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| | ``template < typename...`` *T* ``>`` | SizeofPackOperator_ | |
|
||||
| | ``int`` *count* ``(`` *T* ``&&...`` *t* ``)`` | | |
|
||||
| | ``{ return sizeof... (`` *t* ``); }`` | | |
|
||||
| | ``{ return sizeof... (`` *t* ``); }`` | | |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
| ``( {`` Stmt_... ``;`` Expr_ ``} )`` | StmtExpr_ | GNU/Clang extension |
|
||||
+-------------------------------------------------------+----------------------------------------------------+-------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user