[all-commits] [llvm/llvm-project] 4184d3: [Clang][NFC] Avoid opening namespace std (#95470)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Jun 14 13:25:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4184d33369a9dce391977220683e3f1975bf1fc9
      https://github.com/llvm/llvm-project/commit/4184d33369a9dce391977220683e3f1975bf1fc9
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/include/clang/Frontend/SerializedDiagnosticReader.h
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp

  Log Message:
  -----------
  [Clang][NFC] Avoid opening namespace std (#95470)

Never opening `namespace std` avoids even the possibility of introducing
new symbols as well as making the code a bit shorter by removing
unnecessary boiler plate.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list