зеркало из https://github.com/microsoft/clang-1.git
Fix a couple of pedantic gcc warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
a59114bc19
Коммит
d1a4f68a43
|
@ -56,7 +56,7 @@ private:
|
|||
: P(r, k), Data(offset) {
|
||||
assert(r && "Must have known regions.");
|
||||
assert(getOffset() == offset && "Failed to store offset");
|
||||
assert(r == r->getBaseRegion() || isa<ObjCIvarRegion>(r) && "Not a base");
|
||||
assert((r == r->getBaseRegion() || isa<ObjCIvarRegion>(r)) && "Not a base");
|
||||
}
|
||||
public:
|
||||
|
||||
|
|
|
@ -3355,12 +3355,12 @@ void thread_runner(void *client_data_v) {
|
|||
}
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
thread_info client_data;
|
||||
|
||||
#ifdef CLANG_HAVE_LIBXML
|
||||
LIBXML_TEST_VERSION
|
||||
#endif
|
||||
|
||||
thread_info client_data;
|
||||
|
||||
if (getenv("CINDEXTEST_NOTHREADS"))
|
||||
return cindextest_main(argc, argv);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче