/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#define X(name, r, bit) \
FOLLY_ALWAYS_INLINE bool name() const { \
- return (r) & (1U << bit); \
+ return ((r) & (1U << bit)) != 0; \
}
// cpuid(1): Processor Info and Feature Bits.