Go to file
Jonas Hahnfeld aeb40adabf Remove const from variables with dynamic memory
Allocated memory is typically not 'const' if it needs to be freed.
This patch removes around 50 wrong const attributes, modifies the
corresponding functions and finally gets rid of some const_casts.
These have especially been strange for __kmp_str_fname_free() that
added a 'const' to call __kmp_str_free() which removed it again.

Two minor cleanups that I performed in this process:
 * __kmp_tool_libraries now lives in kmp_settings.cpp as it is
   used nowhere else.
 * __kmp_msg_empty was removed as it was never used and Clang
   now complained that it was assigned a string literal that
   is 'const char *'.

Differential Revision: https://reviews.llvm.org/D39755

llvm-svn: 317797
2017-11-09 15:52:25 +00:00
clang [clang-format] Sort using declarations by splitting on '::' 2017-11-09 15:41:23 +00:00
clang-tools-extra [clangd] Add rename support. 2017-11-09 11:30:04 +00:00
compiler-rt [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc tgamma: Use unary_decl instead of custom inc file 2017-11-02 19:49:00 +00:00
libcxx [libcxx] Mark test cxa_deleted_virtual.pass.cpp as failing for previous libcxx versions. 2017-11-08 22:30:29 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Add ifdefs around ELF specific parts of UnwindRegisters*.S for arm 2017-11-04 21:01:31 +00:00
lld [MIPS] Fix calculation of the R_MICROMIPS_LO16 / HI16 relocations 2017-11-09 12:10:14 +00:00
lldb llgs-tests: Replace the "log+return false" pattern with llvm::Error 2017-11-09 15:45:09 +00:00
llgo
llvm [RISCV] Re-generate test/CodeGen/RISCV/alu32.ll using update_llc_test_checks.py 2017-11-09 15:45:42 +00:00
openmp Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
parallel-libs
polly [ForwardOpTree] Limit isl operations of known content reload. 2017-11-06 17:48:14 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.