From 79b456fe99bf6afb020902a305ee81489312d0e1 Mon Sep 17 00:00:00 2001 From: Nicholas Ormrod Date: Thu, 30 Oct 2014 11:38:36 -0700 Subject: [PATCH] Override #define of keyword Summary: Add a hidden option to suppress ###define [keyword]##, which is occasionally appropriate. Test Plan: Build flint, run it on FBString.h, see no error. Ran flint tests locally, see no errors. Reviewed By: andrei.alexandrescu@fb.com Subscribers: sdwilsh, louisk, njormrod, folly-diffs@ FB internal diff: D1644182 Tasks: 5486739 Signature: t1:1644182:1414616294:4b6004d358cba865455366f5a943644b3542ae51 --- folly/FBString.h | 1 + 1 file changed, 1 insertion(+) diff --git a/folly/FBString.h b/folly/FBString.h index 3e7e292b..6190230c 100644 --- a/folly/FBString.h +++ b/folly/FBString.h @@ -86,6 +86,7 @@ // FBString cannot use throw when replacing std::string, though it may still // use std::__throw_* +// nolint #define throw FOLLY_FBSTRING_MAY_NOT_USE_THROW #ifdef _LIBSTDCXX_FBSTRING -- 2.34.1