File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,15 @@ namespace llvm {
3131class StringRef ;
3232class TargetMachine ;
3333
34+ // / ThinLTOCodeGeneratorImpl - Namespace used for ThinLTOCodeGenerator
35+ // / implementation details. It should be considered private to the
36+ // / implementation.
37+ namespace ThinLTOCodeGeneratorImpl {
38+ struct TargetMachineBuilder ;
39+ }
40+
3441// / Helper to gather options relevant to the target machine creation
35- struct TargetMachineBuilder {
42+ struct ThinLTOCodeGeneratorImpl :: TargetMachineBuilder {
3643 Triple TheTriple;
3744 std::string MCpu;
3845 std::string MAttr;
@@ -301,7 +308,7 @@ class ThinLTOCodeGenerator {
301308
302309private:
303310 // / Helper factory to build a TargetMachine
304- TargetMachineBuilder TMBuilder;
311+ ThinLTOCodeGeneratorImpl:: TargetMachineBuilder TMBuilder;
305312
306313 // / Vector holding the in-memory buffer containing the produced binaries, when
307314 // / SavedObjectsDirectoryPath isn't set.
Original file line number Diff line number Diff line change 7070#endif
7171
7272using namespace llvm ;
73+ using namespace ThinLTOCodeGeneratorImpl ;
7374
7475#define DEBUG_TYPE " thinlto"
7576
You can’t perform that action at this time.
0 commit comments