[clang] remove capture hack

Summary: The frontend got better and now `assert` is correctly translated.

Reviewed By: dulmarod

Differential Revision: D8731877

fbshipit-source-id: ba11b0c
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent 63b3f5b99b
commit 2cb96c356a

@ -5,9 +5,6 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
// TODO: remove this #define, it's here to get a specific version of
// [assert], as others may confuse the clang frontend (t26324545)
#define __STRICT_ANSI__
#include <assert.h> #include <assert.h>
// We should report here no NPE, but also we should report div0 to show that we // We should report here no NPE, but also we should report div0 to show that we

@ -5,9 +5,6 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
// TODO: remove this #define, it's here to get a specific version of
// [assert], as others may confuse the clang frontend (t26324545)
#define __STRICT_ANSI__
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save