Skip to content

Commit 059ace7

Browse files
tbaederrgithub-actions[bot]
authored andcommitted
Automerge: [clang][bytecode] Fix diagnostic difference with opaque call cmps (#129702)
Try to dig out the call expression and diagnose this as an opaque call.
1 parent e0066d1 commit 059ace7

File tree

7 files changed

+0
-24
lines changed

7 files changed

+0
-24
lines changed

clang/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,6 @@ set(CLANG_VERSION "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}.${CLANG_VERSION
334334
set(MAX_CLANG_ABI_COMPAT_VERSION "${LLVM_VERSION_MAJOR}")
335335
message(STATUS "Clang version: ${CLANG_VERSION}")
336336

337-
# Downstream change issue: #124 (Arm Toolchain ID)
338-
if(NOT DEFINED ARM_TOOLCHAIN_ID)
339-
set(ARM_TOOLCHAIN_ID "unset")
340-
endif()
341-
# End downstream change: #124
342-
343337
# Configure the Version.inc file.
344338
configure_file(
345339
${CMAKE_CURRENT_SOURCE_DIR}/include/clang/Basic/Version.inc.in

clang/include/clang/Basic/Version.inc.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
#define CLANG_VERSION_MINOR @CLANG_VERSION_MINOR@
66
#define CLANG_VERSION_PATCHLEVEL @CLANG_VERSION_PATCHLEVEL@
77
#define MAX_CLANG_ABI_COMPAT_VERSION @MAX_CLANG_ABI_COMPAT_VERSION@
8-
// Downstream change issue: #124 (Arm Toolchain ID)
9-
#define ARM_TOOLCHAIN_ID "@ARM_TOOLCHAIN_ID@"

clang/lib/Driver/Driver.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,9 +2325,6 @@ void Driver::PrintVersion(const Compilation &C, raw_ostream &OS) const {
23252325
// If configuration files were used, print their paths.
23262326
for (auto ConfigFile : ConfigFiles)
23272327
OS << "Configuration file: " << ConfigFile << '\n';
2328-
2329-
// Downstream change issue: #124 (Arm Toolchain ID)
2330-
OS << "Arm Toolchain ID: " << ARM_TOOLCHAIN_ID << '\n';
23312328
}
23322329

23332330
/// PrintDiagnosticCategories - Implement the --print-diagnostic-categories

clang/tools/clang-format/ClangFormat.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,6 @@ static bool format(StringRef FileName, bool ErrorOnIncompleteFormat = false) {
554554

555555
static void PrintVersion(raw_ostream &OS) {
556556
OS << clang::getClangToolFullVersion("clang-format") << '\n';
557-
// Downstream change issue: #124 (Arm Toolchain ID)
558-
OS << "Arm Toolchain ID: " << ARM_TOOLCHAIN_ID << '\n';
559557
}
560558

561559
// Dump the configuration.

llvm/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,12 +1164,6 @@ if (NOT TENSORFLOW_AOT_PATH STREQUAL "")
11641164

11651165
endif()
11661166

1167-
# Downstream change issue: #124 (Arm Toolchain ID)
1168-
if(NOT DEFINED ARM_TOOLCHAIN_ID)
1169-
set(ARM_TOOLCHAIN_ID "unset")
1170-
endif()
1171-
# End downstream change: #124
1172-
11731167
# Configure the three LLVM configuration header files.
11741168
configure_file(
11751169
${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/config.h.cmake

llvm/include/llvm/Config/config.h.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,4 @@
297297

298298
#cmakedefine HAVE_GETAUXVAL ${HAVE_GETAUXVAL}
299299

300-
/* Downstream change issue: #124 (Arm Toolchain ID) */
301-
#cmakedefine ARM_TOOLCHAIN_ID "${ARM_TOOLCHAIN_ID}"
302-
303300
#endif

llvm/lib/Support/CommandLine.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2540,8 +2540,6 @@ class VersionPrinter {
25402540
OS << " with assertions";
25412541
#endif
25422542
OS << ".\n";
2543-
// Downstream change issue: #124 (Arm Toolchain ID)
2544-
OS << "Arm Toolchain ID: " << ARM_TOOLCHAIN_ID << '\n';
25452543

25462544
// Iterate over any registered extra printers and call them to add further
25472545
// information.

0 commit comments

Comments
 (0)