[llvm] eaf1ea1 - CFG.h - add missing GraphTraits.h include. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 6 07:18:40 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-06T15:18:25+01:00
New Revision: eaf1ea109c177e74ee156955430b9e1a6d953469
URL: https://github.com/llvm/llvm-project/commit/eaf1ea109c177e74ee156955430b9e1a6d953469
DIFF: https://github.com/llvm/llvm-project/commit/eaf1ea109c177e74ee156955430b9e1a6d953469.diff
LOG: CFG.h - add missing GraphTraits.h include. NFC.
MSVC doesn't care that this isn't declared for default template args but gcc (sometimes) does.
Added:
Modified:
llvm/include/llvm/Analysis/CFG.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/CFG.h b/llvm/include/llvm/Analysis/CFG.h
index 00b8538d5e83..a36ceb484f14 100644
--- a/llvm/include/llvm/Analysis/CFG.h
+++ b/llvm/include/llvm/Analysis/CFG.h
@@ -14,6 +14,7 @@
#ifndef LLVM_ANALYSIS_CFG_H
#define LLVM_ANALYSIS_CFG_H
+#include "llvm/ADT/GraphTraits.h"
#include "llvm/ADT/SmallPtrSet.h"
#include <utility>
More information about the llvm-commits
mailing list