Skip to content

Commit

Permalink
correct LANGOPT / ensure LangOptions.fixed.def is used
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Dec 2, 2023
1 parent 27b8550 commit 28ba3bc
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 72 deletions.
6 changes: 0 additions & 6 deletions tools/clang/include/clang/Basic/LangOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
#ifndef LLVM_CLANG_BASIC_LANGOPTIONS_H
#define LLVM_CLANG_BASIC_LANGOPTIONS_H

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Basic/CommentOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/ObjCRuntime.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/AST/DeclarationName.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclarationName.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/AST/TemplateBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/AST/TemplateBase.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclBase.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/AST/TemplateName.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/AST/TemplateName.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/NestedNameSpecifier.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Basic/LangOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Basic/LangOptions.h"
// //
///////////////////////////////////////////////////////////////////////////////
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Format/Format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
///
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "ContinuationIndenter.h"
#include "TokenAnnotator.h"
#include "UnwrappedLineFormatter.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Frontend/ASTUnit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Frontend/ASTUnit.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Frontend/CompilerInvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/Version.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Lex/Lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Lex/Lexer.h"
#include "UnicodeCharSets.h"
#include "clang/Basic/CharInfo.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Lex/ModuleMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Lex/ModuleMap.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/Diagnostic.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/lib/Serialization/ASTReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "clang/Serialization/ASTReader.h"
#include "ASTCommon.h"
#include "ASTReaderInternals.h"
Expand Down
6 changes: 0 additions & 6 deletions tools/clang/tools/libclang/Indexing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
//
//===----------------------------------------------------------------------===//

// Mach change start
#ifndef MS_SUPPORT_VARIABLE_LANGOPTS
#define MS_SUPPORT_VARIABLE_LANGOPTS
#endif // MS_SUPPORT_VARIABLE_LANGOPTS
// Mach change end

#include "IndexingContext.h"
#include "CIndexDiagnostic.h"
#include "CIndexer.h"
Expand Down

0 comments on commit 28ba3bc

Please sign in to comment.