mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Avoid module import in a textual header, NFC
This unbreaks the lldb modules build (-DLLVM_ENABLE_MODULES=On). llvm-svn: 320456
This commit is contained in:
@@ -7,11 +7,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
// Project includes
|
||||
// This file is meant to be textually included. Do not #include modular
|
||||
// headers here.
|
||||
|
||||
// Computes the offset of the given GPR in the user data area.
|
||||
#define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname))
|
||||
|
||||
Reference in New Issue
Block a user