summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-07-13 19:46:04 +0000
committerErich Keane <erich.keane@intel.com>2018-07-13 19:46:04 +0000
commitf702b029f46e1644f9d4b859e88c09e121009562 (patch)
tree71cf5b2097457ef9919c9933f5fd2554162d134b /clang/lib/Lex
parent393fe62e3373c04ac9a2ab391335dfe6e08949e7 (diff)
downloadbcm5719-llvm-f702b029f46e1644f9d4b859e88c09e121009562.tar.gz
bcm5719-llvm-f702b029f46e1644f9d4b859e88c09e121009562.zip
PR15730/PR16986 Allow dependently typed vector_size types.
As listed in the above PRs, vector_size doesn't allow dependent types/values. This patch introduces a new DependentVectorType to handle a VectorType that has a dependent size or type. In the future, ALL the vector-types should be able to create one of these to handle dependent types/sizes as well. For example, DependentSizedExtVectorType could likely be switched to just use this instead, though that is left as an exercise for the future. Differential Revision: https://reviews.llvm.org/D49045 llvm-svn: 337036
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index e414f85e021..c1be3b2a97e 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/lib/Lex/LiteralSupport.cpp
@@ -734,7 +734,7 @@ NumericLiteralParser::NumericLiteralParser(StringRef TokSpelling,
if (!hadError && saw_fixed_point_suffix) {
assert(isFract || isAccum);
- assert(radix == 16 || radix == 10);
+ //assert(radix == 16 || radix == 10);
}
}
OpenPOWER on IntegriCloud