diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-05 13:06:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-05 13:06:35 +0000 |
commit | 3ec1bf240d4abb4aebe20a7608ab7ebbfe68cbea (patch) | |
tree | dceb48748a4f4691452947651d5d8f03e441b78b /clang/utils | |
parent | 1fa36b7cabfa24ec4f61e2fb3807af3891dc9ee4 (diff) | |
download | bcm5719-llvm-3ec1bf240d4abb4aebe20a7608ab7ebbfe68cbea.tar.gz bcm5719-llvm-3ec1bf240d4abb4aebe20a7608ab7ebbfe68cbea.zip |
Fixed two places where we needed to force completion of a type
(without complaining if it fails) to get proper semantics: reference
binding with a derived-to-base conversion and the enumeration of
constructors for user-defined conversions. There are probably more
cases to fix, but my prior attempt at statically ensuring that
complete-type checking always happens failed. Perhaps I'll try again.
With this change, Clang can parse include/llvm/*.h!
llvm-svn: 86129
Diffstat (limited to 'clang/utils')
-rw-r--r-- | clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg b/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg index 69f010ef335..8375f0920d3 100644 --- a/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg +++ b/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg @@ -16,6 +16,7 @@ config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang, pattern='^(.*\\.h|[^.]*)$', extra_cxx_args=['-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', + '-Wno-sign-compare', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root]) |