summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CFG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/CFG.cpp')
-rw-r--r--clang/lib/AST/CFG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/CFG.cpp b/clang/lib/AST/CFG.cpp
index 82336a44e08..69e82f2b832 100644
--- a/clang/lib/AST/CFG.cpp
+++ b/clang/lib/AST/CFG.cpp
@@ -154,6 +154,8 @@ private:
bool badCFG;
};
+// FIXME: Add support for dependent-sized array types in C++?
+// Does it even make sense to build a CFG for an uninstantiated template?
static VariableArrayType* FindVA(Type* t) {
while (ArrayType* vt = dyn_cast<ArrayType>(t)) {
if (VariableArrayType* vat = dyn_cast<VariableArrayType>(vt))
OpenPOWER on IntegriCloud