diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-05 23:32:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-05 23:32:09 +0000 |
commit | 4619e439b64a251fe35f7a5821aa90d78b879fa9 (patch) | |
tree | d67783abf73134f163d2d6151c65b7bcb5cbc4ac /clang/lib/AST/StmtIterator.cpp | |
parent | 0733759b5aaabd81eb2348651fb726c075c08e0c (diff) | |
download | bcm5719-llvm-4619e439b64a251fe35f7a5821aa90d78b879fa9.tar.gz bcm5719-llvm-4619e439b64a251fe35f7a5821aa90d78b879fa9.zip |
Introduce basic support for dependent types, type-dependent
expressions, and value-dependent expressions. This permits us to parse
some template definitions.
This is not a complete solution; we're missing type- and
value-dependent computations for most of the expression types, and
we're missing checks for dependent types and type-dependent
expressions throughout Sema.
llvm-svn: 60615
Diffstat (limited to 'clang/lib/AST/StmtIterator.cpp')
-rw-r--r-- | clang/lib/AST/StmtIterator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtIterator.cpp b/clang/lib/AST/StmtIterator.cpp index 46882422e1c..48003450191 100644 --- a/clang/lib/AST/StmtIterator.cpp +++ b/clang/lib/AST/StmtIterator.cpp @@ -16,6 +16,8 @@ using namespace clang; +// FIXME: Add support for dependent-sized array types in C++? +// Does it even make sense to build a CFG for an uninstantiated template? static inline VariableArrayType* FindVA(Type* t) { while (ArrayType* vt = dyn_cast<ArrayType>(t)) { if (VariableArrayType* vat = dyn_cast<VariableArrayType>(vt)) |