[PATCH] D62752: Move VarBypassDector.h to include/clang/CodeGen
Zachary Henkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 14:52:09 PDT 2019
zahen created this revision.
zahen added a reviewer: chandlerc.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Allow the VarBypassDetector class to be consumed by external tools by exposing its header from a standard include path.
If accepted, I will need a user with check-in permission to apply the patch.
Repository:
rC Clang
https://reviews.llvm.org/D62752
Files:
clang/include/clang/CodeGen/VarBypassDetector.h
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/VarBypassDetector.cpp
clang/lib/CodeGen/VarBypassDetector.h
Index: clang/lib/CodeGen/VarBypassDetector.cpp
===================================================================
--- clang/lib/CodeGen/VarBypassDetector.cpp
+++ clang/lib/CodeGen/VarBypassDetector.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "VarBypassDetector.h"
+#include "clang/CodeGen/VarBypassDetector.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
Index: clang/lib/CodeGen/CodeGenFunction.h
===================================================================
--- clang/lib/CodeGen/CodeGenFunction.h
+++ clang/lib/CodeGen/CodeGenFunction.h
@@ -20,7 +20,6 @@
#include "CodeGenModule.h"
#include "CodeGenPGO.h"
#include "EHScopeStack.h"
-#include "VarBypassDetector.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/CurrentSourceLocExprScope.h"
#include "clang/AST/ExprCXX.h"
@@ -32,6 +31,7 @@
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/OpenMPKinds.h"
#include "clang/Basic/TargetInfo.h"
+#include "clang/CodeGen/VarBypassDetector.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
Index: clang/include/clang/CodeGen/VarBypassDetector.h
===================================================================
--- clang/include/clang/CodeGen/VarBypassDetector.h
+++ clang/include/clang/CodeGen/VarBypassDetector.h
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_LIB_CODEGEN_VARBYPASSDETECTOR_H
-#define LLVM_CLANG_LIB_CODEGEN_VARBYPASSDETECTOR_H
+#ifndef LLVM_CLANG_CODEGEN_VARBYPASSDETECTOR_H
+#define LLVM_CLANG_CODEGEN_VARBYPASSDETECTOR_H
#include "clang/AST/Decl.h"
#include "llvm/ADT/DenseMap.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62752.202489.patch
Type: text/x-patch
Size: 1755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190531/1f33c45f/attachment.bin>
More information about the cfe-commits
mailing list