Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
fa0dd1b7
Commit
fa0dd1b7
authored
Nov 18, 2021
by
Pedro Olsen Ferreira
Browse files
Add ExtVector clang type
This happens when parsing some OpenCL inputs that use the vector attribute.
parent
91ed2f2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/clang/duchain/builder.cpp
View file @
fa0dd1b7
...
...
@@ -612,8 +612,8 @@ struct Visitor
return
t
;
}
template
<
CXTypeKind
TK
,
EnableIf
<
TK
==
CXType_Vector
||
TK
==
CXType_Complex
>
=
dummy
>
AbstractType
*
createType
(
CXType
type
,
CXCursor
/*parent*/
)
template
<
CXTypeKind
TK
,
EnableIf
<
TK
==
CXType_Vector
||
TK
==
CXType_ExtVector
||
TK
==
CXType_Complex
>
=
dummy
>
AbstractType
*
createType
(
CXType
type
,
CXCursor
/*parent*/
)
{
return
createDelayedType
(
type
);
}
...
...
@@ -1365,6 +1365,7 @@ AbstractType *Visitor::makeType(CXType type, CXCursor parent)
UseKind
(
CXType_Int128
);
UseKind
(
CXType_UInt128
);
UseKind
(
CXType_Vector
);
UseKind
(
CXType_ExtVector
);
UseKind
(
CXType_Unexposed
);
UseKind
(
CXType_WChar
);
UseKind
(
CXType_ObjCInterface
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment