C++ Support in Clang
This page tracks the status of C++ support in Clang.
Feature |
Example |
Status |
Keywords | reinterpret_cast | Full support. |
References | int &x = ...; | Parser and Sema support in, partial Codegen support. |
Default arguments | void f(int x=0); | Full support. |
Namespaces | namespace A { int x; } |
Parser and Sema support in, no Codegen support. |
Class definitions | class C { public: int getX() { return x; } private: int x; }; |
Partial Parser and Sema support, no Codegen support. |
Virtual functions | class C { public: virtual int doFoo() = 0; }; |
Nonexistent. |
Templates | class C { public: template <typename T> T as(); }; |
Nonexistent. |