quickTunerPreproc.py, preprocessor script for quick tuner scripts #1575
+196
−0
ROCm Repo Management API / Jenkins
failed
Dec 12, 2024 in 7h 26m 43s
Build and Test/Matrix - CODEPATH = 'mfma'/Shared Library: fixed E2E tests: error in 'sh' step
Build and Test / Matrix - CODEPATH = 'mfma' / Matrix - CODEPATH = 'mfma' / Shared Library: fixed E2E tests / Shell Script
Error in sh step, with arguments python3 ./mlir/utils/jenkins/static-checks/premerge-checks.py --base-commit=origin/develop.
script returned exit code 1
Build log
+ python3 ./mlir/utils/jenkins/static-checks/premerge-checks.py --base-commit=origin/develop
Running linters against base commit : origin/develop
diff --git a/external/llvm-project/amd/comgr/src/comgr-compiler.cpp b/external/llvm-project/amd/comgr/src/comgr-compiler.cpp
index 0fd784b93a..1632101c17 100644
--- a/external/llvm-project/amd/comgr/src/comgr-compiler.cpp
+++ b/external/llvm-project/amd/comgr/src/comgr-compiler.cpp
@@ -1290,8 +1290,8 @@ amd_comgr_status_t AMDGPUCompiler::unbundle() {
// Generate random name if none provided
if (!strcmp(Input->Name, "")) {
- char *buf = (char *) malloc(sizeof(char) * 30);
- sprintf(buf,"comgr-bundle-%d.%s", std::rand() % 10000,
+ char *buf = (char *)malloc(sizeof(char) * 30);
+ sprintf(buf, "comgr-bundle-%d.%s", std::rand() % 10000,
FileExtension.c_str());
Input->Name = buf;
}
@@ -1415,8 +1415,8 @@ amd_comgr_status_t AMDGPUCompiler::linkBitcodeToBitcode() {
// string to assign. This string is used when the DataObject is written
// to the file system via SAVE_TEMPS, or if the object is a bundle which
// also needs a file system write for unpacking
- char *buf = (char *) malloc(sizeof(char) * 30);
- sprintf(buf,"comgr-anon-bitcode-%d.bc", std::rand() % 10000);
+ char *buf = (char *)malloc(sizeof(char) * 30);
+ sprintf(buf, "comgr-anon-bitcode-%d.bc", std::rand() % 10000);
Input->Name = buf;
}
diff --git a/external/llvm-project/amd/comgr/src/comgr-symbolizer.cpp b/external/llvm-project/amd/comgr/src/comgr-symbolizer.cpp
index 36643cfd02..73a94d94d7 100644
--- a/external/llvm-project/amd/comgr/src/comgr-symbolizer.cpp
+++ b/external/llvm-project/amd/comgr/src/comgr-symbolizer.cpp
@@ -103,7 +103,8 @@ amd_comgr_status_t Symbolizer::symbolize(uint64_t Address, bool IsCode,
llvm::raw_string_ostream OS(Result);
llvm::symbolize::PrinterConfig Config = getDefaultPrinterConfig();
llvm::symbolize::Request Request{"", Address};
- auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(OS, symbolize_error_handler(OS), Config);
+ auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(
+ OS, symbolize_error_handler(OS), Config);
if (IsCode) {
auto ResOrErr = SymbolizerImpl.symbolizeInlinedCode(
diff --git a/external/llvm-project/amd/comgr/src/comgr.cpp b/external/llvm-project/amd/comgr/src/comgr.cpp
index f676c028dd..36b44652d8 100644
--- a/external/llvm-project/amd/comgr/src/comgr.cpp
+++ b/external/llvm-project/amd/comgr/src/comgr.cpp
@@ -47,10 +47,10 @@
#include "clang/Basic/Version.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include "llvm/Demangle/Demangle.h"
+#include "llvm/IR/Constants.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/TargetSelect.h"
-#include "llvm/IR/Constants.h"
#include <fstream>
#include <mutex>
#include <string>
diff --git a/external/llvm-project/amd/comgr/test/compile_hip_test_in_process.c b/external/llvm-project/amd/comgr/test/compile_hip_test_in_process.c
index 6907f279ae..f39429376a 100644
--- a/external/llvm-project/amd/comgr/test/compile_hip_test_in_process.c
+++ b/external/llvm-project/amd/comgr/test/compile_hip_test_in_process.c
@@ -43,8 +43,8 @@ int main(int Argc, char *Argv[]) {
char *BufSource;
size_t SizeSource;
amd_comgr_data_t DataSrc;
- amd_comgr_data_set_t DataSetSrc, DataSetBc, DataSetLinkedBc,
- DataSetAsm, DataSetReloc, DataSetExec;
+ amd_comgr_data_set_t DataSetSrc, DataSetBc, DataSetLinkedBc, DataSetAsm,
+ DataSetReloc, DataSetExec;
amd_comgr_action_info_t ActionInfo;
amd_comgr_status_t Status;
@@ -72,8 +72,9 @@ int main(int Argc, char *Argv[]) {
Status = amd_comgr_create_data_set(&DataSetBc);
checkError(Status, "amd_comgr_create_data_set");
- Status = amd_comgr_do_action(AMD_COMGR_ACTION_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC,
- ActionInfo, DataSetSrc, DataSetBc);
+ Status = amd_comgr_do_action(
+ AMD_COMGR_ACTION_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC, ActionInfo,
+ DataSetSrc, DataSetBc);
checkError(Status, "amd_comgr_do_action");
Status = amd_comgr_create_data_set(&DataSetLinkedBc);
diff --git a/external/llvm-project/amd/comgr/test/compile_log_remarks_test.c b/external/llvm-project/amd/comgr/test/compile_log_remarks_test.c
index 55f54c0d2c..542a7b04fd 100644
--- a/external/llvm-project/amd/comgr/test/compile_log_remarks_test.c
+++ b/external/llvm-project/amd/comgr/test/compile_log_remarks_test.c
@@ -39,14 +39,14 @@
#include <stdlib.h>
#include <string.h>
-# undef unsetenv
+#undef unsetenv
# if !HAVE_DECL_UNSETENV
# if VOID_UNSETENV
extern void unsetenv (const char *);
# else
extern int unsetenv (const char *);
# endif
-# endif
+#endif
int main(int argc, char *argv[]) {
diff --git a/external/llvm-project/amd/comgr/test/compile_log_test.c b/external/llvm-project/amd/comgr/test/compile_log_test.c
index e80e2425d3..4018fa1e59 100644
--- a/external/llvm-project/amd/comgr/test/compile_log_test.c
+++ b/external/llvm-project/amd/comgr/test/compile_log_test.c
@@ -39,14 +39,14 @@
#include <stdlib.h>
#include <string.h>
-# undef unsetenv
+#undef unsetenv
# if !HAVE_DECL_UNSETENV
# if VOID_UNSETENV
extern void unsetenv (const char *);
# else
extern int unsetenv (const char *);
# endif
-# endif
+#endif
int main(int argc, char *argv[]) {
diff --git a/external/llvm-project/amd/comgr/test/multithread_test.cpp b/external/llvm-project/amd/comgr/test/multithread_test.cpp
index 044cb1a5bf..ce428549c4 100644
--- a/external/llvm-project/amd/comgr/test/multithread_test.cpp
+++ b/external/llvm-project/amd/comgr/test/multithread_test.cpp
@@ -205,5 +205,4 @@ int main(int argc, char *argv[]) {
for (int i = 0; i < compile_threads.size(); i++)
compile_threads[i].join();
-
}
diff --git a/external/llvm-project/amd/comgr/test/symbolize_test.c b/external/llvm-project/amd/comgr/test/symbolize_test.c
index f97664d58b..e41890e79b 100644
--- a/external/llvm-project/amd/comgr/test/symbolize_test.c
+++ b/external/llvm-project/amd/comgr/test/symbolize_test.c
@@ -56,21 +56,23 @@ void collect_symbolized_string(const char *input, void *data) {
void test_symbolized_string(container_t *symbol_container) {
char *symbol_str = symbol_container->data;
- char* space_pos = strchr(symbol_str, ' ');
+ char *space_pos = strchr(symbol_str, ' ');
if (space_pos == NULL) {
printf("Expected spaces in %s\n", symbol_str);
exit(0);
}
size_t func_name_size = space_pos - symbol_str;
- char *func_name = (char*) malloc(sizeof(char) * (func_name_size + 1));
+ char *func_name = (char *)malloc(sizeof(char) * (func_name_size + 1));
strncpy(func_name, symbol_str, func_name_size);
func_name[func_name_size] = '\0';
- if (strcmp(func_name, "bazzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz")) {
+ if (strcmp(func_name,
+ "bazzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz")) {
printf("mismatch:\n");
- printf("expected symbolized function name: bazzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz\n");
+ printf("expected symbolized function name: "
+ "bazzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz\n");
printf("actual symbolized function name: %s\n", func_name);
exit(0);
}
@@ -110,7 +112,8 @@ int main(int argc, char *argv[]) {
&symbolizer);
checkError(Status, "amd_comgr_create_symbolizer_info");
// Use this command to get valid address
- // llvm-objdump --triple=amdgcn-amd-amdhsa -l --mcpu=gfx900 --disassemble --source shared.so
+ // llvm-objdump --triple=amdgcn-amd-amdhsa -l --mcpu=gfx900 --disassemble
+ // --source shared.so
int address = 5896;
Status = amd_comgr_symbolize(symbolizer, address, 1, (void *)&user_data);
checkError(Status, "amd_comgr_symbolize");
diff --git a/external/llvm-project/amd/device-libs/ocml/inc/ocml.h b/external/llvm-project/amd/device-libs/ocml/inc/ocml.h
index d0e99ef139..bd252a53b4 100644
--- a/external/llvm-project/amd/device-libs/ocml/inc/ocml.h
+++ b/external/llvm-project/amd/device-libs/ocml/inc/ocml.h
@@ -427,7 +427,6 @@ DECL_CONST_OCML_UNARY_F64(native_log2)
DECL_CONST_OCML_UNARY_F32(native_log10)
DECL_CONST_OCML_UNARY_F64(native_log10)
-
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
DECL_CONST_OCML_UNARY_F16(acos)
DECL_CONST_OCML_UNARY_F16(acosh)
diff --git a/external/llvm-project/amd/hipcc/src/hipBin.cpp b/external/llvm-project/amd/hipcc/src/hipBin.cpp
index 3136fd3bf8..6f67ac9840 100644
--- a/external/llvm-project/amd/hipcc/src/hipBin.cpp
+++ b/external/llvm-project/amd/hipcc/src/hipBin.cpp
@@ -37,7 +37,7 @@ class HipBin;
class HipBin {
private:
HipBinUtil* hipBinUtilPtr_;
- vector<HipBinBase*> hipBinBasePtrs_;
+ vector<HipBinBase *> hipBinBasePtrs_;
vector<PlatformInfo> platformVec_;
HipBinBase* hipBinNVPtr_;
HipBinBase* hipBinAMDPtr_;
@@ -45,8 +45,8 @@ class HipBin {
public:
HipBin();
~HipBin();
- vector<HipBinBase*>& getHipBinPtrs();
- vector<PlatformInfo>& getPlaformInfo();
+ vector<HipBinBase *> &getHipBinPtrs();
+ vector<PlatformInfo> &getPlaformInfo();
void executeHipBin(string filename, int argc, char* argv[]);
void executeHipConfig(int argc, char* argv[]);
void executeHipCC(int argc, char* argv[]);
@@ -63,13 +63,13 @@ HipBin::HipBin() {
bool platformDetected = false;
if (hipBinAMDPtr_->detectPlatform()) {
// populates the struct with AMD info
- const PlatformInfo& platformInfo = hipBinAMDPtr_->getPlatformInfo();
+ const PlatformInfo &platformInfo = hipBinAMDPtr_->getPlatformInfo();
platformVec_.push_back(platformInfo);
hipBinBasePtrs_.push_back(hipBinAMDPtr_);
platformDetected = true;
} else if (hipBinNVPtr_->detectPlatform()) {
// populates the struct with Nvidia info
- const PlatformInfo& platformInfo = hipBinNVPtr_->getPlatformInfo();
+ const PlatformInfo &platformInfo = hipBinNVPtr_->getPlatformInfo();
platformVec_.push_back(platformInfo);
hipBinBasePtrs_.push_back(hipBinNVPtr_);
platformDetected = true;
@@ -78,7 +78,7 @@ HipBin::HipBin() {
if (!platformDetected) {
std::cerr << "Device not supported - Defaulting to AMD" << endl;
// populates the struct with AMD info
- const PlatformInfo& platformInfo = hipBinAMDPtr_->getPlatformInfo();
+ const PlatformInfo &platformInfo = hipBinAMDPtr_->getPlatformInfo();
platformVec_.push_back(platformInfo);
hipBinBasePtrs_.push_back(hipBinAMDPtr_);
}
@@ -94,11 +94,10 @@ HipBin::~HipBin() {
delete hipBinUtilPtr_;
}
-vector<PlatformInfo>& HipBin::getPlaformInfo() {
- return platformVec_; // Return the populated platform info.
+vector<PlatformInfo> &HipBin::getPlaformInfo() {
+ return platformVec_; // Return the populated platform info.
}
-
vector<HipBinBase*>& HipBin::getHipBinPtrs() {
return hipBinBasePtrs_; // Return the populated device pointers.
}
diff --git a/external/llvm-project/amd/hipcc/src/hipBin_amd.h b/external/llvm-project/amd/hipcc/src/hipBin_amd.h
index 9996b2bd9a..b757db23d6 100644
--- a/external/llvm-project/amd/hipcc/src/hipBin_amd.h
+++ b/external/llvm-project/amd/hipcc/src/hipBin_amd.h
@@ -345,7 +345,7 @@ bool HipBinAmd::detectPlatform() {
const EnvVariables& var = getEnvVariables();
bool detected = false;
if (var.hipPlatformEnv_.empty()) {
- if (canRunCompiler(cmdAmd.string(), out)){
+ if (canRunCompiler(cmdAmd.string(), out)) {
detected = true;
}
} else {
diff --git a/external/llvm-project/amd/hipcc/src/hipBin_base.h b/external/llvm-project/amd/hipcc/src/hipBin_base.h
index 6a6e732f2f..a303d44972 100644
--- a/external/llvm-project/amd/hipcc/src/hipBin_base.h
+++ b/external/llvm-project/amd/hipcc/src/hipBin_base.h
@@ -52,7 +52,7 @@ THE SOFTWARE.
# define HCC_AMDGPU_TARGET "HCC_AMDGPU_TARGET"
# define HIP_BASE_VERSION_MAJOR "6"
-# define HIP_BASE_VERSION_MINOR "1"
+#define HIP_BASE_VERSION_MINOR "1"
# define HIP_BASE_VERSION_PATCH "0"
# define HIP_BASE_VERSION_GITHASH "0"
diff --git a/external/llvm-project/amd/hipcc/src/hipBin_nvidia.h b/external/llvm-project/amd/hipcc/src/hipBin_nvidia.h
index b2f157e694..3ca36efd5c 100644
--- a/external/llvm-project/amd/hipcc/src/hipBin_nvidia.h
+++ b/external/llvm-project/amd/hipcc/src/hipBin_nvidia.h
@@ -294,7 +294,7 @@ const PlatformInfo& HipBinNvidia::getPlatformInfo() const {
// returns the cpp config
string HipBinNvidia::getCppConfig() {
string cppConfig =
- " - D__HIP_PLATFORM_NVCC__ = -D__HIP_PLATFORM_NVIDIA__ = -I";
+ " - D__HIP_PLATFORM_NVCC__ = -D__HIP_PLATFORM_NVIDIA__ = -I";
string hipPath;
hipPath = getHipPath();
cppConfig += hipPath;
@@ -393,7 +393,7 @@ void HipBinNvidia::executeHipCCCmd(vector<string> argv) {
for (unsigned int i = 2; i < argv.size(); i++) {
string isaarg = argv.at(i);
ISACMD += " ";
- if (!hipBinUtilPtr_->substringPresent(isaarg,"--rocm-path=")) {
+ if (!hipBinUtilPtr_->substringPresent(isaarg, "--rocm-path=")) {
ISACMD += isaarg;
}
}
diff --git a/external/llvm-project/amd/hipcc/src/hipBin_util.h b/external/llvm-project/amd/hipcc/src/hipBin_util.h
index e7d607989a..dcd5026ae9 100644
--- a/external/llvm-project/amd/hipcc/src/hipBin_util.h
+++ b/external/llvm-project/amd/hipcc/src/hipBin_util.h
@@ -59,7 +59,7 @@ THE SOFTWARE.
#endif
// Not on Visual Studio. Let's use the normal version
-#else // #ifdef _MSC_VER
+#else // #ifdef _MSC_VER
#define INCLUDE_STD_FILESYSTEM_EXPERIMENTAL 0
#endif
@@ -70,7 +70,7 @@ THE SOFTWARE.
// Fail if neither header is available with a nice error message
#else
#error Could not find system header "<filesystem>" ||
- "<experimental/filesystem>"
+"<experimental/filesystem>"
#endif
// We priously determined that we need the exprimental version
@@ -86,7 +86,7 @@ namespace fs = std::experimental::filesystem;
namespace fs = std::filesystem;
#endif
-#endif // #ifndef INCLUDE_STD_FILESYSTEM_EXPERIMENTAL
+#endif // #ifndef INCLUDE_STD_FILESYSTEM_EXPERIMENTAL
#include <assert.h>
#include <stdlib.h>
@@ -140,7 +140,6 @@ struct SystemCmdOut {
int exitCode = 0;
};
-
class HipBinUtil {
public:
static HipBinUtil* getInstance() {
@@ -198,30 +197,29 @@ string HipBinUtil::getSelfPath() const {
int MAX_PATH_CHAR = 1024;
int bufferSize = 0;
string path;
- #if defined(_WIN32) || defined(_WIN64)
- TCHAR buffer[MAX_PATH] = { 0 };
- bufferSize = GetModuleFileName(NULL, buffer, MAX_PATH_CHAR);
- TSIZE pos = TSTR(buffer).find_last_of(ENDLINE);
- TSTR wide = TSTR(buffer).substr(0, pos);
- path = string(wide.begin(), wide.end());
- #else
- char buff[MAX_PATH_CHAR];
- ssize_t len = ::readlink("/proc/self/exe", buff, sizeof(buff) - 1);
- if (len > 0) {
- buff[len] = '\0';
- path = string(buff);
- fs::path exePath(path);
- path = exePath.parent_path().string();
- } else {
- std::cerr << "readlink: Error reading the exe path" << endl;
- perror("readlink");
- exit(-1);
- }
- #endif
+#if defined(_WIN32) || defined(_WIN64)
+ TCHAR buffer[MAX_PATH] = {0};
+ bufferSize = GetModuleFileName(NULL, buffer, MAX_PATH_CHAR);
+ TSIZE pos = TSTR(buffer).find_last_of(ENDLINE);
+ TSTR wide = TSTR(buffer).substr(0, pos);
+ path = string(wide.begin(), wide.end());
+#else
+ char buff[MAX_PATH_CHAR];
+ ssize_t len = ::readlink("/proc/self/exe", buff, sizeof(buff) - 1);
+ if (len > 0) {
+ buff[len] = '\0';
+ path = string(buff);
+ fs::path exePath(path);
+ path = exePath.parent_path().string();
+ } else {
+ std::cerr << "readlink: Error reading the exe path" << endl;
+ perror("readlink");
+ exit(-1);
+ }
+#endif
return path;
}
-
// removes the empty spaces and end lines
string HipBinUtil::trim(string str) const {
string strChomp = str;
diff --git a/external/llvm-project/bolt/lib/Core/BinaryEmitter.cpp b/external/llvm-project/bolt/lib/Core/BinaryEmitter.cpp
index 0b44acb081..1566437b74 100644
--- a/external/llvm-project/bolt/lib/Core/BinaryEmitter.cpp
+++ b/external/llvm-project/bolt/lib/Core/BinaryEmitter.cpp
@@ -38,18 +38,20 @@ extern cl::opt<bool> PreserveBlocksAlignment;
cl::opt<bool> AlignBlocks("align-blocks", cl::desc("align basic blocks"),
cl::cat(BoltOptCategory));
-cl::opt<MacroFusionType>
-AlignMacroOpFusion("align-macro-fusion",
- cl::desc("fix instruction alignment for macro-fusion (x86 relocation mode)"),
- cl::init(MFT_HOT),
- cl::values(clEnumValN(MFT_NONE, "none",
- "do not insert alignment no-ops for macro-fusion"),
- clEnumValN(MFT_HOT, "hot",
- "only insert alignment no-ops on hot execution paths (default)"),
- clEnumValN(MFT_ALL, "all",
- "always align instructions to allow macro-fusion")),
- cl::ZeroOrMore,
- cl::cat(BoltRelocCategory));
+cl::opt<MacroFusionType> AlignMacroOpFusion(
+ "align-macro-fusion",
+ cl::desc(
+ "fix instruction alignment for macro-fusion (x86 relocation mode)"),
+ cl::init(MFT_HOT),
+ cl::values(
+ clEnumValN(MFT_NONE, "none",
+ "do not insert alignment no-ops for macro-fusion"),
+ clEnumValN(
+ MFT_HOT, "hot",
+ "only insert alignment no-ops on hot execution paths (default)"),
+ clEnumValN(MFT_ALL, "all",
+ "always align instructions to allow macro-fusion")),
+ cl::ZeroOrMore, cl::cat(BoltRelocCategory));
static cl::list<std::string>
BreakFunctionNames("break-funcs",
diff --git a/external/llvm-project/bolt/lib/Passes/CallGraph.cpp b/external/llvm-project/bolt/lib/Passes/CallGraph.cpp
index ee2ec26f3e..011e3e9722 100644
--- a/external/llvm-project/bolt/lib/Passes/CallGraph.cpp
+++ b/external/llvm-project/bolt/lib/Passes/CallGraph.cpp
@@ -15,11 +15,11 @@
#define DEBUG_TYPE "callgraph"
#if defined(__x86_64__) && !defined(_MSC_VER)
-# if (!defined USE_SSECRC)
-# define USE_SSECRC
-# endif
+#if (!defined USE_SSECRC)
+#define USE_SSECRC
+#endif
#else
-# undef USE_SSECRC
+#undef USE_SSECRC
#endif
static LLVM_ATTRIBUTE_UNUSED inline size_t hash_int64_fallback(int64_t k) {
@@ -50,7 +50,7 @@ static inline size_t hash_int64_pair(int64_t k1, int64_t k2) {
// crc32 is commutative, so we need to perturb k1 so that (k1, k2) hashes
// differently from (k2, k1).
k1 += k1;
- __asm("crc32q %1, %0\n" : "+r" (k1) : "rm"(k2));
+ __asm("crc32q %1, %0\n" : "+r"(k1) : "rm"(k2));
return k1;
#else
return (hash_int64(k1) << 1) ^ hash_int64(k2);
@@ -118,5 +118,5 @@ void CallGraph::adjustArcWeights() {
}
}
-}
-}
+} // namespace bolt
+} // namespace llvm
diff --git a/external/llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp b/external/llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp
index 8814ebbd10..aa3dfdd975 100644
--- a/external/llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp
+++ b/external/llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp
@@ -326,12 +326,11 @@ static cl::opt<bool> KeepARanges(
"keep or generate .debug_aranges section if .gdb_index is written"),
cl::Hidden, cl::cat(BoltCategory));
-static cl::opt<bool>
-DeterministicDebugInfo("deterministic-debuginfo",
- cl::desc("disables parallel execution of tasks that may produce "
- "nondeterministic debug info"),
- cl::init(true),
- cl::cat(BoltCategory));
+static cl::opt<bool> DeterministicDebugInfo(
+ "deterministic-debuginfo",
+ cl::desc("disables parallel execution of tasks that may produce "
+ "nondeterministic debug info"),
+ cl::init(true), cl::cat(BoltCategory));
static cl::opt<std::string> DwarfOutputPath(
"dwarf-output-path",
diff --git a/external/llvm-project/bolt/lib/Rewrite/RewriteInstance.cpp b/external/llvm-project/bolt/lib/Rewrite/RewriteInstance.cpp
index e452e956c9..8be314b2d4 100644
--- a/external/llvm-project/bolt/lib/Rewrite/RewriteInstance.cpp
+++ b/external/llvm-project/bolt/lib/Rewrite/RewriteInstance.cpp
@@ -1573,7 +1573,7 @@ registerParent:
}
BC->errs() << "BOLT-ERROR: parent function not found for " << *BF << '\n';
exit(1);
- }
+}
}
void RewriteInstance::createPLTBinaryFunction(uint64_t TargetAddress,
diff --git a/external/llvm-project/clang-tools-extra/clang-doc/HTMLGenerator.cpp b/external/llvm-project/clang-tools-extra/clang-doc/HTMLGenerator.cpp
index c0faf5f7e8..a940f12ab7 100644
--- a/external/llvm-project/clang-tools-extra/clang-doc/HTMLGenerator.cpp
+++ b/external/llvm-project/clang-tools-extra/clang-doc/HTMLGenerator.cpp
@@ -658,8 +658,8 @@ genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
if (!CDCtx.RepositoryUrl)
Out.emplace_back(writeFileDefinition(*I.DefLoc));
else
- Out.emplace_back(writeFileDefinition(
- *I.DefLoc, StringRef{*CDCtx.RepositoryUrl}));
+ Out.emplace_back(
+ writeFileDefinition(*I.DefLoc, StringRef{*CDCtx.RepositoryUrl}));
}
std::string Description;
diff --git a/external/llvm-project/clang-tools-extra/clang-doc/Representation.cpp b/external/llvm-project/clang-tools-extra/clang-doc/Representation.cpp
index 2afff2929c..6a1d758637 100644
--- a/external/llvm-project/clang-tools-extra/clang-doc/Representation.cpp
+++ b/external/llvm-project/clang-tools-extra/clang-doc/Representation.cpp
@@ -221,7 +221,7 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
}
NamespaceInfo::NamespaceInfo(SymbolID USR, StringRef Name, StringRef Path)
- : Info(InfoType::IT_namespace, USR, Name, Path) {}
+ : Info(InfoType::IT_namespace, USR, Name, Path) {}
void NamespaceInfo::merge(NamespaceInfo &&Other) {
assert(mergeable(Other));
diff --git a/external/llvm-project/clang-tools-extra/clang-doc/Serialize.cpp b/external/llvm-project/clang-tools-extra/clang-doc/Serialize.cpp
index 3b074d849e..98a409e06b 100644
--- a/external/llvm-project/clang-tools-extra/clang-doc/Serialize.cpp
+++ b/external/llvm-project/clang-tools-extra/clang-doc/Serialize.cpp
@@ -566,7 +566,7 @@ static void populateMemberTypeInfo(MemberTypeInfo &I, const FieldDecl *D) {
return;
Comment->setAttached();
- if (comments::FullComment* fc = Comment->parse(Context, nullptr, D)) {
+ if (comments::FullComment *fc = Comment->parse(Context, nullptr, D)) {
I.Description.emplace_back();
parseFullComment(fc, I.Description.back());
}
diff --git a/external/llvm-project/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp b/external/llvm-project/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
index 21b581fa6d..6a255108b7 100644
--- a/external/llvm-project/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+++ b/external/llvm-project/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
@@ -136,7 +136,7 @@ int main(int argc, const char **argv) {
std::error_code OK;
const char *Overview =
- R"(Generates documentation from source code and comments.
+ R"(Generates documentation from source code and comments.
Example usage for files without flags (default):
diff --git a/external/llvm-project/clang-tools-extra/clangd/TidyFastChecks.inc b/external/llvm-project/clang-tools-extra/clangd/TidyFastChecks.inc
index 9050ce1612..d385251d5c 100644
--- a/external/llvm-project/clang-tools-extra/clangd/TidyFastChecks.inc
+++ b/external/llvm-project/clang-tools-extra/clangd/TidyFastChecks.inc
@@ -7,370 +7,371 @@
#define SLOW(CHECK, DELTA)
#endif
-FAST(abseil-cleanup-ctad, -1.0)
+FAST(abseil - cleanup - ctad, -1.0)
FAST(abseil-duration-addition, 0.0)
-FAST(abseil-duration-comparison, 1.0)
-FAST(abseil-duration-conversion-cast, 3.0)
-FAST(abseil-duration-division, -0.0)
-FAST(abseil-duration-factory-float, 1.0)
-FAST(abseil-duration-factory-scale, -0.0)
-FAST(abseil-duration-subtraction, 1.0)
-FAST(abseil-duration-unnecessary-conversion, 4.0)
-FAST(abseil-faster-strsplit-delimiter, 2.0)
-FAST(abseil-no-internal-dependencies, -1.0)
-FAST(abseil-no-namespace, -1.0)
-FAST(abseil-redundant-strcat-calls, 2.0)
-FAST(abseil-str-cat-append, 1.0)
-FAST(abseil-string-find-startswith, 1.0)
-FAST(abseil-string-find-str-contains, 1.0)
-FAST(abseil-time-comparison, -0.0)
-FAST(abseil-time-subtraction, 0.0)
+FAST(abseil - duration - comparison, 1.0)
+FAST(abseil - duration - conversion - cast, 3.0)
+FAST(abseil - duration - division, -0.0)
+FAST(abseil - duration - factory - float, 1.0)
+FAST(abseil - duration - factory - scale, -0.0)
+FAST(abseil - duration - subtraction, 1.0)
+FAST(abseil - duration - unnecessary - conversion, 4.0)
+FAST(abseil - faster - strsplit - delimiter, 2.0)
+FAST(abseil - no - internal - dependencies, -1.0)
+FAST(abseil - no - namespace, -1.0)
+FAST(abseil - redundant - strcat - calls, 2.0)
+FAST(abseil - str - cat - append, 1.0)
+FAST(abseil - string - find - startswith, 1.0)
+FAST(abseil - string - find - str - contains, 1.0)
+FAST(abseil - time - comparison, -0.0)
+FAST(abseil - time - subtraction, 0.0)
FAST(abseil-upgrade-duration-conversions, 2.0)
SLOW(altera-id-dependent-backward-branch, 13.0)
-FAST(altera-kernel-name-restriction, -1.0)
-FAST(altera-single-work-item-barrier, -1.0)
-FAST(altera-struct-pack-align, -1.0)
+FAST(altera - kernel - name - restriction, -1.0)
+FAST(altera - single - work - item - barrier, -1.0)
+FAST(altera - struct - pack - align, -1.0)
FAST(altera-unroll-loops, 2.0)
-FAST(android-cloexec-accept, -1.0)
-FAST(android-cloexec-accept4, 3.0)
-FAST(android-cloexec-creat, 0.0)
-FAST(android-cloexec-dup, 3.0)
-FAST(android-cloexec-epoll-create, -2.0)
-FAST(android-cloexec-epoll-create1, -1.0)
-FAST(android-cloexec-fopen, -0.0)
-FAST(android-cloexec-inotify-init, 1.0)
-FAST(android-cloexec-inotify-init1, 2.0)
-FAST(android-cloexec-memfd-create, 2.0)
-FAST(android-cloexec-open, -1.0)
-FAST(android-cloexec-pipe, -1.0)
+FAST(android - cloexec - accept, -1.0)
+FAST(android - cloexec - accept4, 3.0)
+FAST(android - cloexec - creat, 0.0)
+FAST(android - cloexec - dup, 3.0)
+FAST(android - cloexec - epoll - create, -2.0)
+FAST(android - cloexec - epoll - create1, -1.0)
+FAST(android - cloexec - fopen, -0.0)
+FAST(android - cloexec - inotify - init, 1.0)
+FAST(android - cloexec - inotify - init1, 2.0)
+FAST(android - cloexec - memfd - create, 2.0)
+FAST(android - cloexec - open, -1.0)
+FAST(android - cloexec - pipe, -1.0)
FAST(android-cloexec-pipe2, 0.0)
FAST(android-cloexec-socket, 1.0)
-FAST(android-comparison-in-temp-failure-retry, 0.0)
-FAST(boost-use-to-string, 1.0)
-FAST(bugprone-argument-comment, 2.0)
+FAST(android - comparison - in - temp - failure - retry, 0.0)
+FAST(boost - use - to - string, 1.0)
+FAST(bugprone - argument - comment, 2.0)
FAST(bugprone-assert-side-effect, 1.0)
-FAST(bugprone-assignment-in-if-condition, -0.0)
-FAST(bugprone-bad-signal-to-kill-thread, -1.0)
+FAST(bugprone - assignment - in - if - condition, -0.0)
+FAST(bugprone - bad - signal - to - kill - thread, -1.0)
FAST(bugprone-bool-pointer-implicit-conversion, 0.0)
-FAST(bugprone-branch-clone, -0.0)
+FAST(bugprone - branch - clone, -0.0)
FAST(bugprone-copy-constructor-init, 1.0)
-FAST(bugprone-dangling-handle, 0.0)
-FAST(bugprone-dynamic-static-initializers, 1.0)
+FAST(bugprone - dangling - handle, 0.0)
+FAST(bugprone - dynamic - static - initializers, 1.0)
FAST(bugprone-easily-swappable-parameters, 2.0)
-FAST(bugprone-exception-escape, 1.0)
-FAST(bugprone-fold-init-type, 2.0)
+FAST(bugprone - exception - escape, 1.0)
+FAST(bugprone - fold - init - type, 2.0)
FAST(bugprone-forward-declaration-namespace, 0.0)
-FAST(bugprone-forwarding-reference-overload, -0.0)
-FAST(bugprone-implicit-widening-of-multiplication-result, 3.0)
-FAST(bugprone-inaccurate-erase, -0.0)
+FAST(bugprone - forwarding - reference - overload, -0.0)
+FAST(bugprone - implicit - widening - of - multiplication - result, 3.0)
+FAST(bugprone - inaccurate - erase, -0.0)
FAST(bugprone-incorrect-roundings, 1.0)
-FAST(bugprone-infinite-loop, 4.0)
-FAST(bugprone-integer-division, -3.0)
-FAST(bugprone-lambda-function-name, 1.0)
-FAST(bugprone-macro-parentheses, 8.0)
+FAST(bugprone - infinite - loop, 4.0)
+FAST(bugprone - integer - division, -3.0)
+FAST(bugprone - lambda - function - name, 1.0)
+FAST(bugprone - macro - parentheses, 8.0)
FAST(bugprone-macro-repeated-side-effects, 1.0)
-FAST(bugprone-misplaced-operator-in-strlen-in-alloc, -0.0)
-FAST(bugprone-misplaced-pointer-arithmetic-in-alloc, 2.0)
-FAST(bugprone-misplaced-widening-cast, -2.0)
-FAST(bugprone-move-forwarding-reference, -2.0)
-FAST(bugprone-multiple-statement-macro, 1.0)
-FAST(bugprone-narrowing-conversions, -1.0)
-FAST(bugprone-no-escape, 3.0)
-FAST(bugprone-not-null-terminated-result, 4.0)
-FAST(bugprone-parent-virtual-call, 2.0)
-FAST(bugprone-posix-return, 0.0)
-FAST(bugprone-redundant-branch-condition, 0.0)
-FAST(bugprone-reserved-identifier, 2.0)
+FAST(bugprone - misplaced - operator- in - strlen - in - alloc, -0.0)
+FAST(bugprone - misplaced - pointer - arithmetic - in - alloc, 2.0)
+FAST(bugprone - misplaced - widening - cast, -2.0)
+FAST(bugprone - move - forwarding - reference, -2.0)
+FAST(bugprone - multiple - statement - macro, 1.0)
+FAST(bugprone - narrowing - conversions, -1.0)
+FAST(bugprone - no - escape, 3.0)
+FAST(bugprone - not -null - terminated - result, 4.0)
+FAST(bugprone - parent - virtual - call, 2.0)
+FAST(bugprone - posix - return, 0.0)
+FAST(bugprone - redundant - branch - condition, 0.0)
+FAST(bugprone - reserved - identifier, 2.0)
FAST(bugprone-shared-ptr-array-mismatch, 0.0)
-FAST(bugprone-signal-handler, -0.0)
-FAST(bugprone-signed-char-misuse, 1.0)
-FAST(bugprone-sizeof-container, -0.0)
-FAST(bugprone-sizeof-expression, 0.0)
-FAST(bugprone-spuriously-wake-up-functions, 3.0)
-FAST(bugprone-string-constructor, 1.0)
-FAST(bugprone-string-integer-assignment, 1.0)
-FAST(bugprone-string-literal-with-embedded-nul, 0.0)
-FAST(bugprone-stringview-nullptr, 2.0)
-FAST(bugprone-suspicious-enum-usage, -0.0)
-FAST(bugprone-suspicious-include, 1.0)
+FAST(bugprone - signal - handler, -0.0)
+FAST(bugprone - signed - char - misuse, 1.0)
+FAST(bugprone - sizeof -container, -0.0)
+FAST(bugprone - sizeof -expression, 0.0)
+FAST(bugprone - spuriously - wake - up - functions, 3.0)
+FAST(bugprone - string - constructor, 1.0)
+FAST(bugprone - string - integer - assignment, 1.0)
+FAST(bugprone - string - literal - with - embedded - nul, 0.0)
+FAST(bugprone - stringview - nullptr, 2.0)
+FAST(bugprone - suspicious - enum - usage, -0.0)
+FAST(bugprone - suspicious - include, 1.0)
FAST(bugprone-suspicious-memory-comparison, 0.0)
-FAST(bugprone-suspicious-memset-usage, 2.0)
-FAST(bugprone-suspicious-missing-comma, 0.0)
-FAST(bugprone-suspicious-realloc-usage, 1.0)
-FAST(bugprone-suspicious-semicolon, 0.0)
-FAST(bugprone-suspicious-string-compare, 2.0)
-FAST(bugprone-swapped-arguments, 0.0)
-FAST(bugprone-terminating-continue, 2.0)
-FAST(bugprone-throw-keyword-missing, -1.0)
+FAST(bugprone - suspicious - memset - usage, 2.0)
+FAST(bugprone - suspicious - missing - comma, 0.0)
+FAST(bugprone - suspicious - realloc - usage, 1.0)
+FAST(bugprone - suspicious - semicolon, 0.0)
+FAST(bugprone - suspicious - string - compare, 2.0)
+FAST(bugprone - swapped - arguments, 0.0)
+FAST(bugprone - terminating - continue, 2.0)
+FAST(bugprone - throw -keyword - missing, -1.0)
FAST(bugprone-too-small-loop-variable, 0.0)
-FAST(bugprone-unchecked-optional-access, 1.0)
+FAST(bugprone - unchecked - optional - access, 1.0)
FAST(bugprone-undefined-memory-manipulation, 1.0)
-FAST(bugprone-undelegated-constructor, 0.0)
-FAST(bugprone-unhandled-exception-at-new, 0.0)
+FAST(bugprone - undelegated - constructor, 0.0)
+FAST(bugprone - unhandled - exception - at - new, 0.0)
FAST(bugprone-unhandled-self-assignment, 0.0)
-FAST(bugprone-unused-raii, 2.0)
-FAST(bugprone-unused-return-value, 0.0)
-FAST(bugprone-use-after-move, 5.0)
+FAST(bugprone - unused - raii, 2.0)
+FAST(bugprone - unused - return -value, 0.0)
+FAST(bugprone - use - after - move, 5.0)
FAST(bugprone-virtual-near-miss, 0.0)
-FAST(cert-con36-c, 2.0)
-FAST(cert-con54-cpp, 3.0)
-FAST(cert-dcl03-c, 2.0)
-FAST(cert-dcl16-c, -1.0)
-FAST(cert-dcl37-c, 3.0)
+FAST(cert - con36 - c, 2.0)
+FAST(cert - con54 - cpp, 3.0)
+FAST(cert - dcl03 - c, 2.0)
+FAST(cert - dcl16 - c, -1.0)
+FAST(cert - dcl37 - c, 3.0)
FAST(cert-dcl50-cpp, -1.0)
-FAST(cert-dcl51-cpp, 1.0)
+FAST(cert - dcl51 - cpp, 1.0)
FAST(cert-dcl54-cpp, 0.0)
-FAST(cert-dcl58-cpp, 1.0)
-FAST(cert-dcl59-cpp, 0.0)
-FAST(cert-env33-c, -1.0)
-FAST(cert-err09-cpp, 1.0)
+FAST(cert - dcl58 - cpp, 1.0)
+FAST(cert - dcl59 - cpp, 0.0)
+FAST(cert - env33 - c, -1.0)
+FAST(cert - err09 - cpp, 1.0)
FAST(cert-err33-c, 4.0)
-FAST(cert-err34-c, 0.0)
-FAST(cert-err52-cpp, 1.0)
-FAST(cert-err58-cpp, 0.0)
-FAST(cert-err60-cpp, 0.0)
-FAST(cert-err61-cpp, -0.0)
-FAST(cert-exp42-c, 0.0)
+FAST(cert - err34 - c, 0.0)
+FAST(cert - err52 - cpp, 1.0)
+FAST(cert - err58 - cpp, 0.0)
+FAST(cert - err60 - cpp, 0.0)
+FAST(cert - err61 - cpp, -0.0)
+FAST(cert - exp42 - c, 0.0)
FAST(cert-fio38-c, 1.0)
-FAST(cert-flp30-c, 0.0)
-FAST(cert-flp37-c, 1.0)
+FAST(cert - flp30 - c, 0.0)
+FAST(cert - flp37 - c, 1.0)
FAST(cert-mem57-cpp, 0.0)
-FAST(cert-msc30-c, -0.0)
-FAST(cert-msc32-c, 1.0)
-FAST(cert-msc50-cpp, -1.0)
-FAST(cert-msc51-cpp, 1.0)
-FAST(cert-msc54-cpp, -1.0)
-FAST(cert-oop11-cpp, 1.0)
-FAST(cert-oop54-cpp, -0.0)
-FAST(cert-oop57-cpp, 1.0)
+FAST(cert - msc30 - c, -0.0)
+FAST(cert - msc32 - c, 1.0)
+FAST(cert - msc50 - cpp, -1.0)
+FAST(cert - msc51 - cpp, 1.0)
+FAST(cert - msc54 - cpp, -1.0)
+FAST(cert - oop11 - cpp, 1.0)
+FAST(cert - oop54 - cpp, -0.0)
+FAST(cert - oop57 - cpp, 1.0)
FAST(cert-oop58-cpp, 0.0)
-FAST(cert-pos44-c, 0.0)
-FAST(cert-pos47-c, -0.0)
-FAST(cert-sig30-c, 2.0)
-FAST(cert-str34-c, 0.0)
+FAST(cert - pos44 - c, 0.0)
+FAST(cert - pos47 - c, -0.0)
+FAST(cert - sig30 - c, 2.0)
+FAST(cert - str34 - c, 0.0)
FAST(concurrency-mt-unsafe, 3.0)
FAST(concurrency-thread-canceltype-asynchronous, 1.0)
-FAST(cppcoreguidelines-avoid-c-arrays, 2.0)
-FAST(cppcoreguidelines-avoid-const-or-ref-data-members, 1.0)
-FAST(cppcoreguidelines-avoid-do-while, -2.0)
-FAST(cppcoreguidelines-avoid-goto, 2.0)
-FAST(cppcoreguidelines-avoid-magic-numbers, 1.0)
-FAST(cppcoreguidelines-avoid-non-const-global-variables, -0.0)
+FAST(cppcoreguidelines - avoid - c - arrays, 2.0)
+FAST(cppcoreguidelines - avoid - const - or -ref - data - members, 1.0)
+FAST(cppcoreguidelines - avoid - do - while, -2.0)
+FAST(cppcoreguidelines - avoid - goto, 2.0)
+FAST(cppcoreguidelines - avoid - magic - numbers, 1.0)
+FAST(cppcoreguidelines - avoid - non - const - global - variables, -0.0)
FAST(cppcoreguidelines-c-copy-assignment-signature, 1.0)
-FAST(cppcoreguidelines-explicit-virtual-functions, -1.0)
-FAST(cppcoreguidelines-init-variables, 2.0)
-FAST(cppcoreguidelines-interfaces-global-init, -1.0)
-FAST(cppcoreguidelines-macro-usage, 2.0)
-FAST(cppcoreguidelines-narrowing-conversions, -2.0)
+FAST(cppcoreguidelines - explicit - virtual - functions, -1.0)
+FAST(cppcoreguidelines - init - variables, 2.0)
+FAST(cppcoreguidelines - interfaces - global - init, -1.0)
+FAST(cppcoreguidelines - macro - usage, 2.0)
+FAST(cppcoreguidelines - narrowing - conversions, -2.0)
FAST(cppcoreguidelines-no-malloc, -1.0)
-FAST(cppcoreguidelines-non-private-member-variables-in-classes, -0.0)
+FAST(cppcoreguidelines - non - private - member - variables - in - classes,
+ -0.0)
FAST(cppcoreguidelines-owning-memory, 3.0)
-FAST(cppcoreguidelines-prefer-member-initializer, 1.0)
-FAST(cppcoreguidelines-pro-bounds-array-to-pointer-decay, 3.0)
-FAST(cppcoreguidelines-pro-bounds-constant-array-index, 3.0)
+FAST(cppcoreguidelines - prefer - member - initializer, 1.0)
+FAST(cppcoreguidelines - pro - bounds - array - to - pointer - decay, 3.0)
+FAST(cppcoreguidelines - pro - bounds - constant - array - index, 3.0)
FAST(cppcoreguidelines-pro-bounds-pointer-arithmetic, 0.0)
-FAST(cppcoreguidelines-pro-type-const-cast, 1.0)
-FAST(cppcoreguidelines-pro-type-cstyle-cast, -1.0)
+FAST(cppcoreguidelines - pro - type - const - cast, 1.0)
+FAST(cppcoreguidelines - pro - type - cstyle - cast, -1.0)
FAST(cppcoreguidelines-pro-type-member-init, 1.0)
-FAST(cppcoreguidelines-pro-type-reinterpret-cast, 2.0)
+FAST(cppcoreguidelines - pro - type - reinterpret - cast, 2.0)
FAST(cppcoreguidelines-pro-type-static-cast-downcast, 0.0)
-FAST(cppcoreguidelines-pro-type-union-access, 1.0)
-FAST(cppcoreguidelines-pro-type-vararg, 1.0)
-FAST(cppcoreguidelines-slicing, 3.0)
+FAST(cppcoreguidelines - pro - type - union - access, 1.0)
+FAST(cppcoreguidelines - pro - type - vararg, 1.0)
+FAST(cppcoreguidelines - slicing, 3.0)
FAST(cppcoreguidelines-special-member-functions, -1.0)
-FAST(cppcoreguidelines-virtual-class-destructor, 0.0)
-FAST(darwin-avoid-spinlock, 1.0)
-FAST(darwin-dispatch-once-nonstatic, -0.0)
-FAST(fuchsia-default-arguments-calls, 2.0)
+FAST(cppcoreguidelines - virtual - class - destructor, 0.0)
+FAST(darwin - avoid - spinlock, 1.0)
+FAST(darwin - dispatch - once - nonstatic, -0.0)
+FAST(fuchsia - default - arguments - calls, 2.0)
FAST(fuchsia-default-arguments-declarations, -0.0)
FAST(fuchsia-header-anon-namespaces, -0.0)
-FAST(fuchsia-multiple-inheritance, -1.0)
-FAST(fuchsia-overloaded-operator, -0.0)
+FAST(fuchsia - multiple - inheritance, -1.0)
+FAST(fuchsia - overloaded - operator, - 0.0)
FAST(fuchsia-statically-constructed-objects, -0.0)
-FAST(fuchsia-trailing-return, 2.0)
+FAST(fuchsia - trailing - return, 2.0)
FAST(fuchsia-virtual-inheritance, 1.0)
-FAST(google-build-explicit-make-pair, 2.0)
+FAST(google - build - explicit - make - pair, 2.0)
FAST(google-build-namespaces, -1.0)
-FAST(google-build-using-namespace, 0.0)
-FAST(google-default-arguments, 1.0)
+FAST(google - build - using - namespace, 0.0)
+FAST(google - default - arguments, 1.0)
FAST(google-explicit-constructor, 2.0)
-FAST(google-global-names-in-headers, -1.0)
+FAST(google - global - names - in - headers, -1.0)
FAST(google-objc-avoid-nsobject-new, 1.0)
-FAST(google-objc-avoid-throwing-exception, 1.0)
-FAST(google-objc-function-naming, 1.0)
-FAST(google-objc-global-variable-declaration, -0.0)
-FAST(google-readability-avoid-underscore-in-googletest-name, -0.0)
-FAST(google-readability-braces-around-statements, 1.0)
-FAST(google-readability-casting, 1.0)
-FAST(google-readability-function-size, 0.0)
-FAST(google-readability-namespace-comments, 0.0)
+FAST(google - objc - avoid - throwing - exception, 1.0)
+FAST(google - objc - function - naming, 1.0)
+FAST(google - objc - global - variable - declaration, -0.0)
+FAST(google - readability - avoid - underscore - in - googletest - name, -0.0)
+FAST(google - readability - braces - around - statements, 1.0)
+FAST(google - readability - casting, 1.0)
+FAST(google - readability - function - size, 0.0)
+FAST(google - readability - namespace - comments, 0.0)
FAST(google-readability-todo, 1.0)
-FAST(google-runtime-int, -1.0)
-FAST(google-runtime-operator, -0.0)
-FAST(google-upgrade-googletest-case, 0.0)
+FAST(google - runtime - int, -1.0)
+FAST(google - runtime - operator, - 0.0)
+FAST(google - upgrade - googletest - case, 0.0)
FAST(hicpp-avoid-c-arrays, 1.0)
-FAST(hicpp-avoid-goto, 0.0)
-FAST(hicpp-braces-around-statements, 1.0)
-FAST(hicpp-deprecated-headers, -1.0)
-FAST(hicpp-exception-baseclass, 0.0)
-FAST(hicpp-explicit-conversions, -1.0)
+FAST(hicpp - avoid - goto, 0.0)
+FAST(hicpp - braces - around - statements, 1.0)
+FAST(hicpp - deprecated - headers, -1.0)
+FAST(hicpp - exception - baseclass, 0.0)
+FAST(hicpp - explicit - conversions, -1.0)
FAST(hicpp-function-size, 1.0)
-FAST(hicpp-invalid-access-moved, 6.0)
+FAST(hicpp - invalid - access - moved, 6.0)
FAST(hicpp-member-init, 2.0)
-FAST(hicpp-move-const-arg, 1.0)
-FAST(hicpp-multiway-paths-covered, 3.0)
-FAST(hicpp-named-parameter, 1.0)
-FAST(hicpp-new-delete-operators, 0.0)
-FAST(hicpp-no-array-decay, 3.0)
-FAST(hicpp-no-assembler, -0.0)
-FAST(hicpp-no-malloc, 1.0)
+FAST(hicpp - move - const - arg, 1.0)
+FAST(hicpp - multiway - paths - covered, 3.0)
+FAST(hicpp - named - parameter, 1.0)
+FAST(hicpp - new - delete -operators, 0.0)
+FAST(hicpp - no - array - decay, 3.0)
+FAST(hicpp - no - assembler, -0.0)
+FAST(hicpp - no - malloc, 1.0)
FAST(hicpp-noexcept-move, -0.0)
-FAST(hicpp-signed-bitwise, 0.0)
-FAST(hicpp-special-member-functions, 0.0)
-FAST(hicpp-static-assert, 1.0)
-FAST(hicpp-undelegated-constructor, 3.0)
-FAST(hicpp-uppercase-literal-suffix, 3.0)
-FAST(hicpp-use-auto, 3.0)
-FAST(hicpp-use-emplace, 1.0)
-FAST(hicpp-use-equals-default, 1.0)
-FAST(hicpp-use-equals-delete, 0.0)
-FAST(hicpp-use-noexcept, -1.0)
-FAST(hicpp-use-nullptr, 2.0)
-FAST(hicpp-use-override, -0.0)
-FAST(hicpp-vararg, -2.0)
-FAST(linuxkernel-must-check-errs, 1.0)
-FAST(llvm-else-after-return, 0.0)
-FAST(llvm-header-guard, 2.0)
-FAST(llvm-include-order, 3.0)
-FAST(llvm-namespace-comment, 1.0)
-FAST(llvm-prefer-isa-or-dyn-cast-in-conditionals, 0.0)
-FAST(llvm-prefer-register-over-unsigned, 1.0)
-FAST(llvm-qualified-auto, 0.0)
-FAST(llvm-twine-local, -2.0)
-FAST(llvmlibc-callee-namespace, 2.0)
-FAST(llvmlibc-implementation-in-namespace, 2.0)
-FAST(llvmlibc-restrict-system-libc-headers, -0.0)
-FAST(misc-confusable-identifiers, 1.0)
-SLOW(misc-const-correctness, 261.0)
+FAST(hicpp - signed - bitwise, 0.0)
+FAST(hicpp - special - member - functions, 0.0)
+FAST(hicpp - static - assert, 1.0)
+FAST(hicpp - undelegated - constructor, 3.0)
+FAST(hicpp - uppercase - literal - suffix, 3.0)
+FAST(hicpp - use - auto, 3.0)
+FAST(hicpp - use - emplace, 1.0)
+FAST(hicpp - use - equals - default, 1.0)
+FAST(hicpp - use - equals - delete, 0.0)
+FAST(hicpp - use - noexcept, -1.0)
+FAST(hicpp - use - nullptr, 2.0)
+FAST(hicpp - use - override, -0.0)
+FAST(hicpp - vararg, -2.0)
+FAST(linuxkernel - must - check - errs, 1.0)
+FAST(llvm - else - after - return, 0.0)
+FAST(llvm - header - guard, 2.0)
+FAST(llvm - include - order, 3.0)
+FAST(llvm - namespace - comment, 1.0)
+FAST(llvm - prefer - isa - or -dyn - cast - in - conditionals, 0.0)
+FAST(llvm - prefer - register - over - unsigned, 1.0)
+FAST(llvm - qualified - auto, 0.0)
+FAST(llvm - twine - local, -2.0)
+FAST(llvmlibc - callee - namespace, 2.0)
+FAST(llvmlibc - implementation - in - namespace, 2.0)
+FAST(llvmlibc - restrict - system - libc - headers, -0.0)
+FAST(misc - confusable - identifiers, 1.0)
+SLOW(misc - const - correctness, 261.0)
FAST(misc-definitions-in-headers, -1.0)
-FAST(misc-misleading-bidirectional, -0.0)
-FAST(misc-misleading-identifier, -1.0)
-FAST(misc-misplaced-const, 1.0)
-FAST(misc-new-delete-overloads, -1.0)
-FAST(misc-no-recursion, -2.0)
-FAST(misc-non-copyable-objects, 1.0)
-FAST(misc-non-private-member-variables-in-classes, 2.0)
-FAST(misc-redundant-expression, 0.0)
-FAST(misc-static-assert, 1.0)
-FAST(misc-throw-by-value-catch-by-reference, -1.0)
+FAST(misc - misleading - bidirectional, -0.0)
+FAST(misc - misleading - identifier, -1.0)
+FAST(misc - misplaced - const, 1.0)
+FAST(misc - new - delete -overloads, -1.0)
+FAST(misc - no - recursion, -2.0)
+FAST(misc - non - copyable - objects, 1.0)
+FAST(misc - non - private - member - variables - in - classes, 2.0)
+FAST(misc - redundant - expression, 0.0)
+FAST(misc - static - assert, 1.0)
+FAST(misc - throw -by - value - catch - by - reference, -1.0)
FAST(misc-unconventional-assign-operator, 1.0)
-FAST(misc-uniqueptr-reset-release, 0.0)
-FAST(misc-unused-alias-decls, 1.0)
-FAST(misc-unused-parameters, 0.0)
-FAST(misc-unused-using-decls, 4.0)
+FAST(misc - uniqueptr - reset - release, 0.0)
+FAST(misc - unused - alias - decls, 1.0)
+FAST(misc - unused - parameters, 0.0)
+FAST(misc - unused - using - decls, 4.0)
FAST(modernize-avoid-bind, 1.0)
FAST(modernize-avoid-c-arrays, 2.0)
-FAST(modernize-concat-nested-namespaces, -1.0)
-FAST(modernize-deprecated-headers, -0.0)
-FAST(modernize-deprecated-ios-base-aliases, 1.0)
+FAST(modernize - concat - nested - namespaces, -1.0)
+FAST(modernize - deprecated - headers, -0.0)
+FAST(modernize - deprecated - ios - base - aliases, 1.0)
FAST(modernize-loop-convert, 2.0)
-FAST(modernize-macro-to-enum, 1.0)
-FAST(modernize-make-shared, -0.0)
-FAST(modernize-make-unique, 0.0)
-FAST(modernize-pass-by-value, 1.0)
-FAST(modernize-raw-string-literal, 1.0)
-FAST(modernize-redundant-void-arg, -1.0)
-FAST(modernize-replace-auto-ptr, -1.0)
-FAST(modernize-replace-disallow-copy-and-assign-macro, -2.0)
-FAST(modernize-replace-random-shuffle, 0.0)
-FAST(modernize-return-braced-init-list, -1.0)
-FAST(modernize-shrink-to-fit, 2.0)
-FAST(modernize-unary-static-assert, -1.0)
-FAST(modernize-use-auto, 2.0)
+FAST(modernize - macro - to - enum, 1.0)
+FAST(modernize - make - shared, -0.0)
+FAST(modernize - make - unique, 0.0)
+FAST(modernize - pass - by - value, 1.0)
+FAST(modernize - raw - string - literal, 1.0)
+FAST(modernize - redundant - void - arg, -1.0)
+FAST(modernize - replace - auto - ptr, -1.0)
+FAST(modernize - replace - disallow - copy - and-assign - macro, -2.0)
+FAST(modernize - replace - random - shuffle, 0.0)
+FAST(modernize - return -braced - init - list, -1.0)
+FAST(modernize - shrink - to - fit, 2.0)
+FAST(modernize - unary - static - assert, -1.0)
+FAST(modernize - use - auto, 2.0)
FAST(modernize-use-bool-literals, 1.0)
-FAST(modernize-use-default-member-init, 2.0)
-FAST(modernize-use-emplace, 1.0)
-FAST(modernize-use-equals-default, 2.0)
-FAST(modernize-use-equals-delete, 0.0)
-FAST(modernize-use-nodiscard, 1.0)
-FAST(modernize-use-noexcept, 1.0)
-FAST(modernize-use-nullptr, 2.0)
-FAST(modernize-use-override, 1.0)
-FAST(modernize-use-trailing-return-type, -0.0)
-FAST(modernize-use-transparent-functors, -1.0)
-FAST(modernize-use-uncaught-exceptions, 1.0)
+FAST(modernize - use - default - member - init, 2.0)
+FAST(modernize - use - emplace, 1.0)
+FAST(modernize - use - equals - default, 2.0)
+FAST(modernize - use - equals - delete, 0.0)
+FAST(modernize - use - nodiscard, 1.0)
+FAST(modernize - use - noexcept, 1.0)
+FAST(modernize - use - nullptr, 2.0)
+FAST(modernize - use - override, 1.0)
+FAST(modernize - use - trailing - return -type, -0.0)
+FAST(modernize - use - transparent - functors, -1.0)
+FAST(modernize - use - uncaught - exceptions, 1.0)
FAST(modernize-use-using, 1.0)
-FAST(objc-assert-equals, -1.0)
-FAST(objc-avoid-nserror-init, -2.0)
-FAST(objc-dealloc-in-category, -0.0)
-FAST(objc-forbidden-subclassing, 0.0)
-FAST(objc-missing-hash, 1.0)
-FAST(objc-nsdate-formatter, 1.0)
-FAST(objc-nsinvocation-argument-lifetime, -2.0)
-FAST(objc-property-declaration, -1.0)
-FAST(objc-super-self, -0.0)
-FAST(openmp-exception-escape, 1.0)
-FAST(openmp-use-default-none, 1.0)
-FAST(performance-faster-string-find, 2.0)
+FAST(objc - assert - equals, -1.0)
+FAST(objc - avoid - nserror - init, -2.0)
+FAST(objc - dealloc - in - category, -0.0)
+FAST(objc - forbidden - subclassing, 0.0)
+FAST(objc - missing - hash, 1.0)
+FAST(objc - nsdate - formatter, 1.0)
+FAST(objc - nsinvocation - argument - lifetime, -2.0)
+FAST(objc - property - declaration, -1.0)
+FAST(objc - super - self, -0.0)
+FAST(openmp - exception - escape, 1.0)
+FAST(openmp - use - default - none, 1.0)
+FAST(performance - faster - string - find, 2.0)
FAST(performance-for-range-copy, 2.0)
-FAST(performance-implicit-conversion-in-loop, 1.0)
-FAST(performance-inefficient-algorithm, 0.0)
-FAST(performance-inefficient-string-concatenation, -0.0)
-FAST(performance-inefficient-vector-operation, 1.0)
-FAST(performance-move-const-arg, 3.0)
-FAST(performance-move-constructor-init, 1.0)
-FAST(performance-no-automatic-move, -1.0)
-FAST(performance-no-int-to-ptr, 2.0)
+FAST(performance - implicit - conversion - in - loop, 1.0)
+FAST(performance - inefficient - algorithm, 0.0)
+FAST(performance - inefficient - string - concatenation, -0.0)
+FAST(performance - inefficient - vector - operation, 1.0)
+FAST(performance - move - const - arg, 3.0)
+FAST(performance - move - constructor - init, 1.0)
+FAST(performance - no - automatic - move, -1.0)
+FAST(performance - no - int - to - ptr, 2.0)
FAST(performance-noexcept-move-constructor, 1.0)
-FAST(performance-trivially-destructible, -1.0)
-FAST(performance-type-promotion-in-math-fn, 4.0)
-FAST(performance-unnecessary-copy-initialization, 4.0)
+FAST(performance - trivially - destructible, -1.0)
+FAST(performance - type - promotion - in - math - fn, 4.0)
+FAST(performance - unnecessary - copy - initialization, 4.0)
FAST(performance-unnecessary-value-param, 2.0)
-FAST(portability-restrict-system-includes, 2.0)
-FAST(portability-simd-intrinsics, 2.0)
-FAST(portability-std-allocator-const, 2.0)
+FAST(portability - restrict - system - includes, 2.0)
+FAST(portability - simd - intrinsics, 2.0)
+FAST(portability - std - allocator - const, 2.0)
FAST(readability-avoid-const-params-in-decls, -0.0)
-FAST(readability-braces-around-statements, 2.0)
-FAST(readability-const-return-type, -0.0)
-FAST(readability-container-contains, -0.0)
-FAST(readability-container-data-pointer, 0.0)
-SLOW(readability-container-size-empty, 16.0)
-FAST(readability-convert-member-functions-to-static, 0.0)
-FAST(readability-delete-null-pointer, 0.0)
-FAST(readability-duplicate-include, -0.0)
-FAST(readability-else-after-return, 1.0)
+FAST(readability - braces - around - statements, 2.0)
+FAST(readability - const - return -type, -0.0)
+FAST(readability - container - contains, -0.0)
+FAST(readability - container - data - pointer, 0.0)
+SLOW(readability - container - size - empty, 16.0)
+FAST(readability - convert - member - functions - to - static, 0.0)
+FAST(readability - delete -null - pointer, 0.0)
+FAST(readability - duplicate - include, -0.0)
+FAST(readability - else - after - return, 1.0)
FAST(readability-function-cognitive-complexity, 0.0)
-FAST(readability-function-size, 3.0)
-FAST(readability-identifier-length, -1.0)
-FAST(readability-identifier-naming, 5.0)
-FAST(readability-implicit-bool-conversion, 2.0)
-FAST(readability-inconsistent-declaration-parameter-name, 1.0)
-FAST(readability-isolate-declaration, 1.0)
-FAST(readability-magic-numbers, -1.0)
-FAST(readability-make-member-function-const, 2.0)
-FAST(readability-misleading-indentation, 0.0)
-FAST(readability-misplaced-array-index, -0.0)
+FAST(readability - function - size, 3.0)
+FAST(readability - identifier - length, -1.0)
+FAST(readability - identifier - naming, 5.0)
+FAST(readability - implicit - bool - conversion, 2.0)
+FAST(readability - inconsistent - declaration - parameter - name, 1.0)
+FAST(readability - isolate - declaration, 1.0)
+FAST(readability - magic - numbers, -1.0)
+FAST(readability - make - member - function - const, 2.0)
+FAST(readability - misleading - indentation, 0.0)
+FAST(readability - misplaced - array - index, -0.0)
FAST(readability-named-parameter, -0.0)
-FAST(readability-non-const-parameter, 1.0)
-FAST(readability-qualified-auto, -0.0)
-FAST(readability-redundant-access-specifiers, -1.0)
-FAST(readability-redundant-control-flow, -1.0)
-FAST(readability-redundant-declaration, -0.0)
-FAST(readability-redundant-function-ptr-dereference, -1.0)
-FAST(readability-redundant-member-init, 0.0)
-FAST(readability-redundant-preprocessor, 0.0)
-FAST(readability-redundant-smartptr-get, 6.0)
-FAST(readability-redundant-string-cstr, 0.0)
-FAST(readability-redundant-string-init, 1.0)
-FAST(readability-simplify-boolean-expr, 1.0)
-FAST(readability-simplify-subscript-expr, -0.0)
-FAST(readability-static-accessed-through-instance, 1.0)
-FAST(readability-static-definition-in-anonymous-namespace, -0.0)
+FAST(readability - non - const - parameter, 1.0)
+FAST(readability - qualified - auto, -0.0)
+FAST(readability - redundant - access - specifiers, -1.0)
+FAST(readability - redundant - control - flow, -1.0)
+FAST(readability - redundant - declaration, -0.0)
+FAST(readability - redundant - function - ptr - dereference, -1.0)
+FAST(readability - redundant - member - init, 0.0)
+FAST(readability - redundant - preprocessor, 0.0)
+FAST(readability - redundant - smartptr - get, 6.0)
+FAST(readability - redundant - string - cstr, 0.0)
+FAST(readability - redundant - string - init, 1.0)
+FAST(readability - simplify - boolean - expr, 1.0)
+FAST(readability - simplify - subscript - expr, -0.0)
+FAST(readability - static - accessed - through - instance, 1.0)
+FAST(readability - static - definition - in - anonymous - namespace, -0.0)
FAST(readability-string-compare, -0.0)
-FAST(readability-suspicious-call-argument, 0.0)
-FAST(readability-uniqueptr-delete-release, 1.0)
-FAST(readability-uppercase-literal-suffix, 3.0)
-FAST(readability-use-anyofallof, 1.0)
+FAST(readability - suspicious - call - argument, 0.0)
+FAST(readability - uniqueptr - delete -release, 1.0)
+FAST(readability - uppercase - literal - suffix, 3.0)
+FAST(readability - use - anyofallof, 1.0)
FAST(zircon-temporary-objects, 1.0)
#undef FAST
diff --git a/external/llvm-project/clang/docs/analyzer/checkers/mismatched_deallocator_example.cpp b/external/llvm-project/clang/docs/analyzer/checkers/mismatched_deallocator_example.cpp
index 2a4103240f..cf60402766 100644
--- a/external/llvm-project/clang/docs/analyzer/checkers/mismatched_deallocator_example.cpp
+++ b/external/llvm-project/clang/docs/analyzer/checkers/mismatched_deallocator_example.cpp
@@ -5,7 +5,7 @@ void test() {
}
// C, C++
-void __attribute((ownership_returns(malloc))) *user_malloc(size_t);
+void __attribute((ownership_returns(malloc))) * user_malloc(size_t);
void test() {
int *p = (int *)user_malloc(sizeof(int));
diff --git a/external/llvm-project/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp b/external/llvm-project/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
index 6509a6440e..b2b785b87c 100644
--- a/external/llvm-project/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
+++ b/external/llvm-project/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
@@ -72,7 +72,7 @@ public:
*sema.LateParsedTemplateMap.find(FD)->second;
sema.LateTemplateParser(sema.OpaqueParser, LPT);
llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
- }
+ }
}
};
diff --git a/external/llvm-project/clang/include/clang/AST/ASTConcept.h b/external/llvm-project/clang/include/clang/AST/ASTConcept.h
index 5f9aa41d3e..c1f8ff0aac 100644
--- a/external/llvm-project/clang/include/clang/AST/ASTConcept.h
+++ b/external/llvm-project/clang/include/clang/AST/ASTConcept.h
@@ -43,9 +43,9 @@ public:
ConstraintSatisfaction() = default;
ConstraintSatisfaction(const NamedDecl *ConstraintOwner,
- ArrayRef<TemplateArgument> TemplateArgs) :
- ConstraintOwner(ConstraintOwner), TemplateArgs(TemplateArgs.begin(),
- TemplateArgs.end()) { }
+ ArrayRef<TemplateArgument> TemplateArgs)
+ : ConstraintOwner(ConstraintOwner),
+ TemplateArgs(TemplateArgs.begin(), TemplateArgs.end()) {}
using SubstitutionDiagnostic = std::pair<SourceLocation, StringRef>;
using Detail = llvm::PointerUnion<Expr *, SubstitutionDiagnostic *>;
@@ -79,10 +79,9 @@ public:
/// substituted constraint expr, if the template arguments could be
/// substituted into them, or a diagnostic if substitution resulted in
/// an invalid expression.
-using UnsatisfiedConstraintRecord =
- std::pair<const Expr *,
- llvm::PointerUnion<Expr *,
- std::pair<SourceLocation, StringRef> *>>;
+using UnsatisfiedConstraintRecord = std::pair<
+ const Expr *,
+ llvm::PointerUnion<Expr *, std::pair<SourceLocation, StringRef> *>>;
/// \brief The result of a constraint satisfaction check, containing the
/// necessary information to diagnose an unsatisfied constraint.
diff --git a/external/llvm-project/clang/include/clang/AST/ASTContext.h b/external/llvm-project/clang/include/clang/AST/ASTContext.h
index a1d1d1c51c..24a868f355 100644
--- a/external/llvm-project/clang/include/clang/AST/ASTContext.h
+++ b/external/llvm-project/clang/include/clang/AST/ASTContext.h
@@ -260,8 +260,8 @@ class ASTContext : public RefCountedBase<ASTContext> {
mutable llvm::FoldingSet<SubstTemplateTemplateParmStorage>
SubstTemplateTemplateParms;
mutable llvm::ContextualFoldingSet<SubstTemplateTemplateParmPackStorage,
- ASTContext&>
- SubstTemplateTemplateParmPacks;
+ ASTContext &>
+ SubstTemplateTemplateParmPacks;
mutable llvm::ContextualFoldingSet<ArrayParameterType, ASTContext &>
ArrayParameterTypes;
diff --git a/external/llvm-project/clang/include/clang/AST/CommentParser.h b/external/llvm-project/clang/include/clang/AST/CommentParser.h
index e11e818b1a..902f1b96d1 100644
--- a/external/llvm-project/clang/include/clang/AST/CommentParser.h
+++ b/external/llvm-project/clang/include/clang/AST/CommentParser.h
@@ -118,4 +118,3 @@ public:
} // end namespace clang
#endif
-
diff --git a/external/llvm-project/clang/include/clang/AST/Decl.h b/external/llvm-project/clang/include/clang/AST/Decl.h
index 7fd80b90d1..b8dd7b8a86 100644
--- a/external/llvm-project/clang/include/clang/AST/Decl.h
+++ b/external/llvm-project/clang/include/clang/AST/Decl.h
@@ -542,9 +542,9 @@ public:
};
/// Represent a C++ namespace.
-class NamespaceDecl : public NamedDecl, public DeclContext,
- public Redeclarable<NamespaceDecl>
-{
+class NamespaceDecl : public NamedDecl,
+ public DeclContext,
+ public Redeclarable<NamespaceDecl> {
enum Flags : unsigned { F_Inline = 1 << 0, F_Nested = 1 << 1 };
@@ -671,9 +671,7 @@ public:
}
/// Retrieves the canonical declaration of this namespace.
- NamespaceDecl *getCanonicalDecl() override {
- return getOriginalNamespace();
- }
+ NamespaceDecl *getCanonicalDecl() override { return getOriginalNamespace(); }
const NamespaceDecl *getCanonicalDecl() const {
return getOriginalNamespace();
}
diff --git a/external/llvm-project/clang/include/clang/AST/DeclAccessPair.h b/external/llvm-project/clang/include/clang/AST/DeclAccessPair.h
index 805342c291..ecc6f481ea 100644
--- a/external/llvm-project/clang/include/clang/AST/DeclAccessPair.h
+++ b/external/llvm-project/clang/include/clang/AST/DeclAccessPair.h
@@ -41,9 +41,7 @@ public:
NamedDecl *getDecl() const {
return reinterpret_cast<NamedDecl*>(~Mask & Ptr);
}
- AccessSpecifier getAccess() const {
- return AccessSpecifier(Mask & Ptr);
- }
+ AccessSpecifier getAccess() const { return AccessSpecifier(Mask & Ptr); }
void setDecl(NamedDecl *D) {
set(D, getAccess());
diff --git a/external/llvm-project/clang/include/clang/AST/DeclBase.h b/external/llvm-project/clang/include/clang/AST/DeclBase.h
index e43e812cd9..3a0c46d26b 100644
--- a/external/llvm-project/clang/include/clang/AST/DeclBase.h
+++ b/external/llvm-project/clang/include/clang/AST/DeclBase.h
@@ -703,7 +703,7 @@ public:
/// deserialized Decls.
void setOwningModuleID(unsigned ID) {
assert(isFromASTFile() && "Only works on a deserialized declaration");
- *((unsigned*)this - 2) = ID;
+ *((unsigned *)this - 2) = ID;
}
public:
@@ -787,7 +787,7 @@ public:
/// declaration.
unsigned getOwningModuleID() const {
if (isFromASTFile())
- return *((const unsigned*)this - 2);
+ return *((const unsigned *)this - 2);
return 0;
}
diff --git a/external/llvm-project/clang/include/clang/AST/DeclFriend.h b/external/llvm-project/clang/include/clang/AST/DeclFriend.h
index 9789282f35..c3b0761333 100644
--- a/external/llvm-project/clang/include/clang/AST/DeclFriend.h
+++ b/external/llvm-project/clang/include/clang/AST/DeclFriend.h
@@ -157,15 +157,13 @@ public:
return DD->getSourceRange();
}
return SourceRange(getFriendLoc(), ND->getEndLoc());
- }
- else if (TypeSourceInfo *TInfo = getFriendType()) {
+ } else if (TypeSourceInfo *TInfo = getFriendType()) {
SourceLocation StartL =
(NumTPLists == 0) ? getFriendLoc()
: getTrailingObjects<TemplateParameterList *>()[0]
->getTemplateLoc();
return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc());
- }
- else
+ } else
return SourceRange(getFriendLoc(), getLocation());
}
diff --git a/external/llvm-project/clang/include/clang/AST/DeclTemplate.h b/external/llvm-project/clang/include/clang/AST/DeclTemplate.h
index 5b6a6b40b2..b882eb04ec 100644
--- a/external/llvm-project/clang/include/clang/AST/DeclTemplate.h
+++ b/external/llvm-project/clang/include/clang/AST/DeclTemplate.h
@@ -3146,8 +3146,8 @@ protected:
: TemplateDecl(Concept, DC, L, Name, Params),
ConstraintExpr(ConstraintExpr) {};
public:
- static ConceptDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, DeclarationName Name,
+ static ConceptDecl *Create(ASTContext &C, DeclContext *DC, SourceLocation L,
+ DeclarationName Name,
TemplateParameterList *Params,
Expr *ConstraintExpr);
static ConceptDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
diff --git a/external/llvm-project/clang/include/clang/AST/Mangle.h b/external/llvm-project/clang/include/clang/AST/Mangle.h
index e586b0cec4..c87c7df56d 100644
--- a/external/llvm-project/clang/include/clang/AST/Mangle.h
+++ b/external/llvm-project/clang/include/clang/AST/Mangle.h
@@ -130,9 +130,8 @@ public:
// FIXME: consider replacing raw_ostream & with something like SmallString &.
void mangleName(GlobalDecl GD, raw_ostream &);
virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
- virtual void mangleThunk(const CXXMethodDecl *MD,
- const ThunkInfo &Thunk,
- raw_ostream &) = 0;
+ virtual void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
+ raw_ostream &) = 0;
virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
const ThisAdjustment &ThisAdjustment,
raw_ostream &) = 0;
diff --git a/external/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h b/external/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h
index 99093aa179..d84c8a50c2 100644
--- a/external/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h
+++ b/external/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h
@@ -1775,7 +1775,7 @@ DEF_TRAVERSE_DECL(OMPThreadPrivateDecl, {
for (auto *I : D->varlists()) {
TRY_TO(TraverseStmt(I));
}
- })
+})
DEF_TRAVERSE_DECL(OMPRequiresDecl, {
for (auto *C : D->clauselists()) {
diff --git a/external/llvm-project/clang/include/clang/AST/Type.h b/external/llvm-project/clang/include/clang/AST/Type.h
index 263b632df2..e521202cab 100644
--- a/external/llvm-project/clang/include/clang/AST/Type.h
+++ b/external/llvm-project/clang/include/clang/AST/Type.h
@@ -4687,8 +4687,8 @@ class FunctionProtoType final
// only if hasExtParameterInfos() is true.
//
// * Optionally a Qualifiers object to represent extra qualifiers that can't
- // be represented by FunctionTypeBitfields.FastTypeQuals. Present if and only
- // if hasExtQualifiers() is true.
+ // be represented by FunctionTypeBitfields.FastTypeQuals. Present if and
+ // only if hasExtQualifiers() is true.
//
// The optional FunctionTypeExtraBitfields has to be before the data
// related to the exception specification since it contains the number
@@ -5771,7 +5771,7 @@ class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
CanTTPTInfo.ParameterPack = PP;
}
- const CanonicalTTPTInfo& getCanTTPTInfo() const {
+ const CanonicalTTPTInfo &getCanTTPTInfo() const {
QualType Can = getCanonicalTypeInternal();
return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
}
diff --git a/external/llvm-project/clang/include/clang/Basic/CodeGenOptions.h b/external/llvm-project/clang/include/clang/Basic/CodeGenOptions.h
index 9469a42404..69360586d3 100644
--- a/external/llvm-project/clang/include/clang/Basic/CodeGenOptions.h
+++ b/external/llvm-project/clang/include/clang/Basic/CodeGenOptions.h
@@ -127,9 +127,9 @@ public:
std::string BinutilsVersion;
enum class FramePointerKind {
- None, // Omit all frame pointers.
- NonLeaf, // Keep non-leaf frame pointers.
- All, // Keep all frame pointers.
+ None, // Omit all frame pointers.
+ NonLeaf, // Keep non-leaf frame pointers.
+ All, // Keep all frame pointers.
};
static StringRef getFramePointerKindName(FramePointerKind Kind) {
diff --git a/external/llvm-project/clang/include/clang/Basic/DiagnosticCategories.h b/external/llvm-project/clang/include/clang/Basic/DiagnosticCategories.h
index 14be326f75..b2c2259062 100644
--- a/external/llvm-project/clang/include/clang/Basic/DiagnosticCategories.h
+++ b/external/llvm-project/clang/include/clang/Basic/DiagnosticCategories.h
@@ -21,8 +21,8 @@ namespace clang {
};
enum class Group {
Output truncated.
Details
- Set System Property (4.9 sec)
- Kill old PR builds (1.3 sec)
- Build and Test (7 hr 24 min)
- Matrix - CODEPATH = 'vanilla' (4 ms)
- Matrix - CODEPATH = 'vanilla' (42 sec)
- Environment (0.79 sec)
- Shared Library: fixed E2E tests (12 sec)
- Shared Library: random E2E tests (2.7 sec)
- Tune selected rocmlir configs (3.3 sec)
- Static Library: build rocMLIR packages (4.3 sec)
- Matrix - CODEPATH = 'vanilla' (42 sec)
- Matrix - CODEPATH = 'mfma' (5 ms)
- Matrix - CODEPATH = 'mfma' (33 min)
- Environment (7.2 sec)
- Shared Library: fixed E2E tests (16 min)
Error: script returned exit code 1 - Shared Library: random E2E tests (1.3 sec)
- Tune selected rocmlir configs (2 sec)
- Static Library: build rocMLIR packages (1.4 sec)
- Matrix - CODEPATH = 'mfma' (33 min)
- Matrix - CODEPATH = 'navi21' (3 ms)
- Matrix - CODEPATH = 'navi21' (42 sec)
- Environment (0.55 sec)
- Shared Library: fixed E2E tests (12 sec)
- Shared Library: random E2E tests (2.5 sec)
- Tune selected rocmlir configs (3.9 sec)
- Static Library: build rocMLIR packages (4.3 sec)
- Matrix - CODEPATH = 'navi21' (42 sec)
- Matrix - CODEPATH = 'navi3x' (7 hr 24 min)
- Matrix - CODEPATH = 'navi3x' (7 hr 23 min)
- Environment (3.2 sec)
- Shared Library: fixed E2E tests (27 min)
- Shared Library: random E2E tests (1.4 sec)
- Tune selected rocmlir configs (1 hr 33 min)
- Static Library: build rocMLIR packages (9 min 25 sec)
- Matrix - CODEPATH = 'navi3x' (7 hr 23 min)
- Matrix - CODEPATH = 'vanilla' (4 ms)
- Parameter sweeps (24 sec)
- Matrix - CODEPATH = 'mfma' (3 ms)
- Matrix - CODEPATH = 'mfma' (17 sec)
- Environment (52 ms)
- Prepare Performance Scripts (4.3 sec)
- Parameter Sweep (4 sec)
- Matrix - CODEPATH = 'mfma' (17 sec)
- Matrix - CODEPATH = 'vanilla' (3 ms)
- Matrix - CODEPATH = 'vanilla' (17 sec)
- Environment (58 ms)
- Prepare Performance Scripts (4.3 sec)
- Parameter Sweep (4 sec)
- Matrix - CODEPATH = 'vanilla' (17 sec)
- Matrix - CODEPATH = 'navi21' (22 sec)
- Matrix - CODEPATH = 'navi21' (17 sec)
- Environment (64 ms)
- Prepare Performance Scripts (4.3 sec)
- Parameter Sweep (4 sec)
- Matrix - CODEPATH = 'navi21' (17 sec)
- Matrix - CODEPATH = 'mfma' (3 ms)
- Tune MLIR kernels (34 sec)
- Matrix - ARCH = 'gfx908' (4 ms)
- Matrix - ARCH = 'gfx908' (28 sec)
- Set System Property on Lockhart nodes (55 ms)
- Environment (4.2 sec)
- Tune rocMLIR (4.9 sec)
- Tune Fusion (4.1 sec)
- Stash Databases (4.1 sec)
- Matrix - ARCH = 'gfx908' (28 sec)
- Matrix - ARCH = 'gfx90a' (3 ms)
- Matrix - ARCH = 'gfx90a' (28 sec)
- Set System Property on Lockhart nodes (62 ms)
- Environment (4.2 sec)
- Tune rocMLIR (4.9 sec)
- Tune Fusion (4.1 sec)
- Stash Databases (4.1 sec)
- Matrix - ARCH = 'gfx90a' (28 sec)
- Matrix - ARCH = 'gfx1030' (32 sec)
- Matrix - ARCH = 'gfx1030' (28 sec)
- Set System Property on Lockhart nodes (68 ms)
- Environment (4.2 sec)
- Tune rocMLIR (5 sec)
- Tune Fusion (4.1 sec)
- Stash Databases (4.1 sec)
- Matrix - ARCH = 'gfx1030' (28 sec)
- Matrix - ARCH = 'gfx908' (4 ms)
- Archive weekly tuning perfDB (1.3 sec)
- Benchmark and Report Performance (1 min 5 sec)
- Matrix - CHIP = 'gfx908' (4 ms)
- Matrix - CHIP = 'gfx908' (57 sec)
- Environment (5.3 sec)
- Copy tuning database (5.5 sec)
- Build MLIR (5.5 sec)
- Copy earlier performance results (5.4 sec)
- Test MLIR vs MIOpen/rocBLAS (5.5 sec)
- Test Fusion (5.6 sec)
- Test Attention (5.5 sec)
- Test MLIR vs CK (5.4 sec)
- Create performance reports (5.5 sec)
- Matrix - CHIP = 'gfx908' (57 sec)
- Matrix - CHIP = 'gfx90a' (2 ms)
- Matrix - CHIP = 'gfx90a' (57 sec)
- Environment (5.3 sec)
- Copy tuning database (5.5 sec)
- Build MLIR (5.5 sec)
- Copy earlier performance results (5.4 sec)
- Test MLIR vs MIOpen/rocBLAS (5.5 sec)
- Test Fusion (5.6 sec)
- Test Attention (5.5 sec)
- Test MLIR vs CK (5.4 sec)
- Create performance reports (5.5 sec)
- Matrix - CHIP = 'gfx90a' (57 sec)
- Matrix - CHIP = 'gfx1030' (3 ms)
- Matrix - CHIP = 'gfx1030' (57 sec)
- Environment (5.3 sec)
- Copy tuning database (5.5 sec)
- Build MLIR (5.5 sec)
- Copy earlier performance results (5.4 sec)
- Test MLIR vs MIOpen/rocBLAS (5.5 sec)
- Test Fusion (5.6 sec)
- Test Attention (5.6 sec)
- Test MLIR vs CK (5.4 sec)
- Create performance reports (5.5 sec)
- Matrix - CHIP = 'gfx1030' (57 sec)
- Matrix - CHIP = 'gfx1100' (1 min 3 sec)
- Matrix - CHIP = 'gfx1100' (57 sec)
- Environment (5.4 sec)
- Copy tuning database (5.5 sec)
- Build MLIR (5.5 sec)
- Copy earlier performance results (5.4 sec)
- Test MLIR vs MIOpen/rocBLAS (5.5 sec)
- Test Fusion (5.6 sec)
- Test Attention (5.6 sec)
- Test MLIR vs CK (5.4 sec)
- Create performance reports (5.5 sec)
- Matrix - CHIP = 'gfx1100' (57 sec)
- Matrix - CHIP = 'gfx908' (4 ms)
- MIGraphX (18 sec)
- Matrix - CODEPATH = 'mfma' (3 ms)
- Matrix - CODEPATH = 'mfma' (14 sec)
- Environment (2.8 sec)
- Install MIGraphX Dependencies (2.6 sec)
- Build MIGraphX with MLIR (2.8 sec)
- Verify MIGraphX with MLIR (2.7 sec)
- Matrix - CODEPATH = 'mfma' (14 sec)
- Matrix - CODEPATH = 'navi21' (17 sec)
- Matrix - CODEPATH = 'navi21' (14 sec)
- Environment (2.8 sec)
- Install MIGraphX Dependencies (2.6 sec)
- Build MIGraphX with MLIR (2.8 sec)
- Verify MIGraphX with MLIR (2.7 sec)
- Matrix - CODEPATH = 'navi21' (14 sec)
- Matrix - CODEPATH = 'mfma' (3 ms)
- Code coverage (5.9 sec)
- Matrix - CPATH = 'mfma' (4.4 sec)
- Matrix - CPATH = 'mfma' (3 sec)
- body (1.3 sec)
- Matrix - CPATH = 'mfma' (3 sec)
- Matrix - CPATH = 'mfma' (4.4 sec)
Loading